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

FieldTypeDescription

byte_or_hash*

array<string>

An array of raw transactions

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

NameTypeDescription

byte_or_hash*

string

12D3KooWSP9NzUUABoSZnv4uqXmFyPXbMmsnRRYWgYdhwxtBZ6jd

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"]}
}'

Last updated