Skip to main content

base_transactionStatus

Checks whether a transaction exists in the Base mempool. Returns "Known" if the transaction is pending in the mempool, or "Unknown" if it is not found (either already included in a block or never submitted).

This method is part of the base_ namespace introduced with Flashblocks support.

Availability

Currently available on Base Mainnet only.

Use Cases#

  • Transaction tracking — Check if a submitted transaction is still pending
  • Mempool monitoring — Verify transaction propagation
  • Retry logic — Determine whether to resubmit a transaction

Parameters#

ParameterTypeRequiredDescription
transactionHashDATAYes32-byte transaction hash to look up

Request#

{
"jsonrpc": "2.0",
"method": "base_transactionStatus",
"params": ["0x..."],
"id": 1
}

Returns#

FieldTypeDescription
statusString"Known" if the transaction is in the mempool, "Unknown" otherwise

Code Examples#

curl -X POST https://api-base-mainnet-archive.n.dwellir.com/YOUR_API_KEY \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "base_transactionStatus",
"params": ["0x5c884a466fb59ee69114a0c99cb15d4d8af670a37be53fd59ffda3b5566b4269"],
"id": 1
}'

Response Example#

{
"jsonrpc": "2.0",
"id": 1,
"result": {
"status": "Unknown"
}
}

Error Handling#

Error CodeMessageDescription
-32602Invalid paramsInvalid transaction hash format

Need help? Contact our support team or check the Base documentation.