Skip to main content

author_pendingExtrinsics - JSON-RPC Method

Description#

Returns all extrinsics currently residing in the transaction pool of the connected Enjin Matrix node. Use this method to monitor pending marketplace actions, mint operations, or to debug why a submission has not been finalized yet.

Parameters#

No parameters are required.

Returns#

An array of SCALE-encoded extrinsics in hex. An empty array indicates no queued transactions.

Request Example#

{
"jsonrpc": "2.0",
"method": "author_pendingExtrinsics",
"params": [],
"id": 1
}

Response Example#

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

Code Examples#

curl https://api-enjin-matrixchain.n.dwellir.com/YOUR_API_KEY \
-X POST \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "author_pendingExtrinsics",
"params": [],
"id": 1
}'

Operational Advice#

  • Compare the pending set across multiple nodes to diagnose gossip or peer connectivity issues.
  • Persist extrinsic hashes from this list and later confirm inclusion using chain_getBlock or author_submitExtrinsic subscription callbacks.
  • Large queues may signal congestion—consider increasing tip/priority or batching operations via fuel tanks.