author_removeExtrinsic
Remove the specified extrinsic from the pool and temporarily ban it to prevent being reimported.
Example Request and Result for author_removeExtrinsic method
In this section, we provide an illustrative example of a request made to retrieve details contents using the author_removeExtrinsic
method. Additionally, we present the resulting response containing information about removing the specified extrinsic from the pool.
Parameters
Field | Type | Description |
---|---|---|
byte_or_hash* | array<string> | An array of raw transactions |
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!
Remove the specified extrinsic from the pool
POST
https://vara-mainnet.blastapi.io/<project-id>
Request Body
Name | Type | Description |
---|---|---|
byte_or_hash* | string | 12D3KooWSP9NzUUABoSZnv4uqXmFyPXbMmsnRRYWgYdhwxtBZ6jd |
- 200: OK Expand for a detailed response example
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_removeExtrinsic",
"params":{"bytes_or_hash":["12D3KooWSP9NzUUABoSZnv4uqXmFyPXbMmsnRRYWgYdhwxtBZ6jd"]}
}'