author_unwatchExtrinsic

Submit the extrinsic to stop watch.

Example Request and Result for author_unwatchExtrinsic method

In this section, we provide an illustrative example of a request made to retrieve details contents using the author_unwatchExtrinsic method. Additionally, we present the resulting response containing information about submitting the extrinsic to stop watch.

This method is available only with WebSocket connection.

Parameters

FieldTypeDescription

extrinsic*

string

Represents the fully formatted extrinsic that you want to submit for inclusion in a block

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!

Submit an extrinsic to unwatch.

POST wss://vara-mainnet.blastapi.io/<project-id>

Request Body

NameTypeDescription

extrinsic*

string

0x4902840092e18d8c3794ca19985547f9ea887f38f8a0e74488aefc2fd36eca57d86d4bd800adbf148201412504ef5e005d05607e0edbddd0e17edf350972002fa15ff8fc7eed1f542edd98eb3c73bbfd899dd5c67cd47bab05823a4aa041d0e3d972504408007286110000050700bc6c427a82323a81fa5b2d69f0adba287a8c1172f70ee94181e2c22d5cf2e02d0700aaa0680b

{
  "jsonrpc": "2.0",
  "result": false,
  "id": 1
}

Curl Request example

wscat -c 'wss://vara-mainnet.blastapi.io/<project-id>' 
# wait for connection
messasge: {
    "id": 1,
    "jsonrpc": "2.0",
    "method": "author_unwatchExtrinsic",
    "params": ["0x4902840092e18d8c3794ca19985547f9ea887f38f8a0e74488aefc2fd36eca57d86d4bd800adbf148201412504ef5e005d05607e0edbddd0e17edf350972002fa15ff8fc7eed1f542edd98eb3c73bbfd899dd5c67cd47bab05823a4aa041d0e3d972504408007286110000050700bc6c427a82323a81fa5b2d69f0adba287a8c1172f70ee94181e2c22d5cf2e02d0700aaa0680b"]
}

Last updated