Closed Boreas09 closed 2 months ago
Cancel subscriptions by calling this method with the subscription ID. It returns a boolean indicating that the subscription was canceled successfully.
Parameters :
subscription ID: The ID of the subscription you want to unsubscribe.
subscription ID
Returns :
unsubscribed flag: (boolean) True if the subscription is canceled successfully.
unsubscribed flag
Subscription methods are available for WebSocket connections only.
Request :
wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0", "id": 1, "method": "eth_unsubscribe", "params": ["0x9cef478923ff08bf67fde6c64013158d"]}'
Response :
{ "id": 1, "jsonrpc": "2.0", "result": true }
/rosettanet/docs/methodsStatus.md
methodsStatus.md
I would love to take on this issue @Boreas09 😁
Cancel subscriptions by calling this method with the subscription ID. It returns a boolean indicating that the subscription was canceled successfully.
Parameters :
subscription ID
: The ID of the subscription you want to unsubscribe.Returns :
unsubscribed flag
: (boolean) True if the subscription is canceled successfully.Request :
Response :
DO NOT FORGET TO UPDATE methodsStatus.md (set this method as finished)
/rosettanet/docs/methodsStatus.md
methodsStatus.md