To use the txpool_content method on the Avalanche C-Chain, ensure that the end of your URL includes ext/bc/C/rpc.
Parameters
Returns
- objectobject
Pending and queued transactions grouped by sender address and nonce.
- pendingobject
Pending transactions grouped by sender address and nonce.
- <address>object
Map keyed by sender address.
- <nonce>object
Transaction object for this nonce.
- blockHashstring | null
The hash of the block where this transaction was in, null here.
- blockNumberstring | null
The block number where this transaction was added, null here.
- fromstring
The address of the sender.
- gasstring
The total amount of gas units used in the transaction.
- gasPricestring
The legacy gas price in wei encoded as hexadecimal.
- maxFeePerGasstring
The maximum total fee per gas (EIP-1559) encoded as hexadecimal.
- maxPriorityFeePerGasstring
The maximum priority fee per gas (tip, EIP-1559) encoded as hexadecimal.
- hashstring
The hash of the transaction.
- inputstring
The encoded transaction input data.
- noncestring
The number of transactions the sender has sent till now.
- tostring | null
The address of the receiver. null when it is a contract creation transaction.
- transactionIndexstring | null
The transaction index position in the block, null here.
- valuestring
The value transferred in wei.
- typestring
The transaction type encoded as hexadecimal (e.g., 0x0, 0x1, 0x2).
- accessListarray
The access list (EIP-2930/1559) as an array of address/storage key pairs.
- chainIdstring
The chain ID encoded as hexadecimal.
- vstring
The ECDSA recovery id.
- rstring
The ECDSA signature r.
- sstring
The ECDSA signature s.
- yParitystring
The Y parity of the signature (EIP-1559 typed transactions).
- queuedobject
Queued transactions grouped by sender address and nonce.
- <address>object
Map keyed by sender address.
- <nonce>object
Transaction object for this nonce.
- blockHashstring | null
The hash of the block where this transaction was in, null here.
- blockNumberstring | null
The block number where this transaction was added, null here.
- fromstring
The address of the sender.
- gasstring
The total amount of gas units used in the transaction.
- gasPricestring
The legacy gas price in wei encoded as hexadecimal.
- maxFeePerGasstring
The maximum total fee per gas (EIP-1559) encoded as hexadecimal.
- maxPriorityFeePerGasstring
The maximum priority fee per gas (tip, EIP-1559) encoded as hexadecimal.
- hashstring
The hash of the transaction.
- inputstring
The encoded transaction input data.
- noncestring
The number of transactions the sender has sent till now.
- tostring | null
The address of the receiver. null when it is a contract creation transaction.
- transactionIndexstring | null
The transaction index position in the block, null here.
- valuestring
The value transferred in wei.
- typestring
The transaction type encoded as hexadecimal (e.g., 0x0, 0x1, 0x2).
- accessListarray
The access list (EIP-2930/1559) as an array of address/storage key pairs.
- chainIdstring
The chain ID encoded as hexadecimal.
- vstring
The ECDSA recovery id.
- rstring
The ECDSA signature r.
- sstring
The ECDSA signature s.
- yParitystring
The Y parity of the signature (EIP-1559 typed transactions).