Skip to main content

author_pendingExtrinsics RPC method

The author_pendingExtrinsics RPC method retrieves pending extrinsics in the blockchain. It provides a snapshot of transactions awaiting inclusion in a block, essential for transaction tracking and network status assessment.

Parameters

This method does not accept any parameters

Returns

result: Array of Strings

Returns an array, each element a hexadecimal string representing a pending extrinsic. These strings identify transactions that are currently not part of any block.

{"jsonrpc":"2.0","result":["0x4902840092e18d8c3794ca19985547f9ea887f38f8a0e74488aefc2fd36eca57d86d4bd800adbf148201412504ef5e005d05607e0edbddd0e17edf350972002fa15ff8fc7eed1f542edd98eb3c73bbfd899dd5c67cd47bab05823a4aa041d0e3d972504408007286110000050700bc6c427a82323a81fa5b2d69f0adba287a8c1172f70ee94181e2c22d5cf2e02d0700aaa0680b"],"id":1}

Code Examples

curl "https://api-polkadot.dwellir.com/<API-KEY>" \
-X POST \
-H "Content-Type: application/json" \
--data '{"method":"author_pendingExtrinsics","params":[],"id":1,"jsonrpc":"2.0"}'