curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43114 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_unsubscribe",
"params": [
"0xb53c4832f1dca4a5"
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": true
}
Unsubscribes from a subscription.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43114 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_unsubscribe",
"params": [
"0xb53c4832f1dca4a5"
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": true
}
eth_unsubscribe:params[0]: Subscription Idtrue.curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43114 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_unsubscribe",
"params": [
"0xb53c4832f1dca4a5"
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": true
}
Was this page helpful?