Skip to main content

txpool_content

The content inspection property can be queried to list the exact details of all the transactions currently pending for inclusion in the next block(s), as well as the ones that are being scheduled for future execution only.

Parameters

  • none

Returns

The result is an object with two fields pending and queued. Each of these fields are associative arrays, in which each entry maps an origin-address to a batch of scheduled transactions. These batches themselves are maps associating nonces with actual transactions.

Example

Request

curl https://astar.blastapi.io/<project-id>
-X POST \
-H "Content-Type: application/json" \
-d '{"method":"txpool_content", "params":[],"id":1,"jsonrpc":"2.0"}'