chain_unsubscribeFinalisedHeads
Enables customers to revoke their subscription to receive updates on the best finished headers.
A boolean value signifying whether the unsubscription procedure was successful. The unsubscription was accomplished if this is true. If untrue, there may have been a mistake during the unsubscribe procedure.
Example Request and Result for chain_unsubscribeFinalisedHeads method
In this section, we provide an illustrative example of a request made to retrieve details contents using the chain_unsubscribeFinalisedHeads
method. Additionally, we present the resulting response containing information about revoking the membership to receive updates on the best finished headers using WS subscription.
Same results can be achived using the method chain_unsubscribeFinalizedHeads
Parameters
- none
The example in this section uses a non-existing project id.
Make sure you replace it with your Vara Mainnet endpoint when issuing the API calls.
Don't have a project id? Here's a straightforward guide on how to obtain one!
Enables customers to revoke their subscription to receive updates on the best finished headers.
POST
wss://vara-mainnet.blastapi.io/<project-id>
- 200: OK Expand for a detailed response example
{
"jsonrpc": "2.0",
"result": true,
"id": 1
}
Curl Request example
wscat -c 'wss://vara-mainnet.blastapi.io/<project-id>'
# wait for connection
messasge:
{
"id": 1,
"jsonrpc": "2.0",
"method": "chain_unsubscribeFinalisedHeads",
"params":[]
}