author_submitExtrinsic
Submit a fully formatted extrinsic for block inclusion
Example Request and Result for author_submitExtrinsic method
In this section, we provide an illustrative example of a request made to retrieve details contents using the _author_submitExtrinsic
_method. Additionally, we present the resulting response containing information about submitting the extrinsic for block inclusion.
Parameters
Field | Type | Description |
---|---|---|
extrinsic* | string | Represents the fully formatted extrinsic that you want to submit for inclusion in a block |
info
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 hex-encoded extrinsic for inclusion in block.
POST
https://vara-mainnet.blastapi.io/<project-id>
Request Body
Name | Type | Description |
---|---|---|
extrinsic* | string | 0x280403000bd61300888301 |
- 200: OK Expand for a detailed response example
The hash of the submitted extrinsic
Curl Request example
curl --location 'https://vara-mainnet.blastapi.io/<project-id>' \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "author_submitExtrinsic",
"params": ["0x280403000bd61300888301"]
}'