eth_getTransactionByBlockHashAndIndex
Returns information about a transaction by block hash and transaction index position.
Params
(2)1. Block hash (required)
string
Match pattern:
^0x[0-9a-f]{64}$
2. Transaction index (required)
string
Match pattern:
^0x([1-9a-f]+[0-9a-f]*|0)$
Result
(Transaction information)Signed 1559 Transaction
(one of)
blockHash
stringMatch pattern:
^0x[0-9a-f]{64}$
blockNumber
stringMatch pattern:
^0x([1-9a-f]+[0-9a-f]*|0)$
from
stringMatch pattern:
^0x[0-9,a-f,A-F]{40}$
hash
stringMatch pattern:
^0x[0-9a-f]{64}$
transactionIndex
stringMatch pattern:
^0x([1-9a-f]+[0-9a-f]*|0)$
type
stringMatch pattern:
^0x([0-9,a-f,A-F]?){1,2}$
nonce
stringMatch pattern:
^0x([1-9a-f]+[0-9a-f]*|0)$
to
stringMatch pattern:
^0x[0-9,a-f,A-F]{40}$
gas
stringMatch pattern:
^0x([1-9a-f]+[0-9a-f]*|0)$
value
stringMatch pattern:
^0x([1-9a-f]+[0-9a-f]*|0)$
input
stringMatch pattern:
^0x[0-9a-f]*$
maxPriorityFeePerGas
stringMaximum fee per gas the sender is willing to pay to miners in wei
Match pattern:
^0x([1-9a-f]+[0-9a-f]*|0)$
maxFeePerGas
stringThe maximum total fee per gas the sender is willing to pay (includes the network / base fee and miner / priority fee) in wei
Match pattern:
^0x([1-9a-f]+[0-9a-f]*|0)$
accessList
array[Access list entry]EIP-2930 access list
address
stringMatch pattern:
^0x[0-9,a-f,A-F]{40}$
storageKeys
array[string]chainId
stringChain ID that this transaction is valid on.
Match pattern:
^0x([1-9a-f]+[0-9a-f]*|0)$
yParity
stringThe parity (0 for even, 1 for odd) of the y-value of the secp256k1 signature.
Match pattern:
^0x([1-9a-f]+[0-9a-f]*|0)$
r
stringMatch pattern:
^0x([1-9a-f]+[0-9a-f]*|0)$
s
stringMatch pattern:
^0x([1-9a-f]+[0-9a-f]*|0)$