Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Common Types

Transaction Status

Transactions can have the following statuses:

StatusDescription
queuedTransaction is waiting to be broadcast
broadcastingTransaction is currently being broadcast
retry_scheduledBroadcast failed, retry is scheduled
executedTransaction was mined successfully
expiredTransaction’s validity window expired
invalidTransaction was rejected as invalid
stale_by_nonceNonce was consumed by another transaction
canceled_locallyGroup was canceled via the API

TxInfo Object

All transaction endpoints return or include TxInfo objects:

FieldTypeDescription
chainIdnumberChain ID
txHashstringTransaction hash (hex)
typenumber?Transaction type (EIP-2718)
senderstringSender address (hex)
feePayerstring?Fee payer address if different from sender (hex)
nonceKeystringNonce key (hex U256)
noncenumberTransaction nonce
groupIdstring?Group ID if part of a group (hex)
validAfternumber?Unix timestamp when tx becomes valid
validBeforenumber?Unix timestamp when tx expires
eligibleAtnumberUnix timestamp when broadcasting begins
expiresAtnumber?Unix timestamp when tx expires
statusstringCurrent transaction status
nextActionAtnumber?Unix timestamp of next scheduled action
attemptsnumberNumber of broadcast attempts
lastErrorstring?Last broadcast error message
lastBroadcastAtnumber?Unix timestamp of last broadcast
receiptobject?Transaction receipt if executed
gasnumber?Gas limit
gasPricestring?Gas price (for legacy txs)
maxFeePerGasstring?Max fee per gas
maxPriorityFeePerGasstring?Max priority fee per gas
inputstring?Transaction input data (hex)
callsarray?Decoded calls for batch transactions

If raw transaction data is not stored (for example after canceling a group locally), fields derived from the raw transaction (type, gas, gasPrice, maxFeePerGas, maxPriorityFeePerGas, input, calls) are omitted.