eth_getTransactionByBlockHashAndIndex
Returns the information about a transaction requested by the block hash and index of which it was mined.
Params
(2)1. blockhash (required)
string
Match pattern:
^0x[0-9,a-f,A-F]{64}$
2. index (required)
number
Result
(eth_getTransactionByBlockHashAndIndex_result)Transaction or null
accessList
array[AccessListItem] or null
address
stringMatch pattern:
^(NET\d+|CFX|CFXTEST)(:TYPE\..*|):[ABCDEFGHJKMNPRSTUVWXYZ0123456789]{42}$
storageKeys
array[string]blockHash
string or null
Match pattern:
^0x[0-9,a-f,A-F]{64}$
blockNumber
string or null
Match pattern:
^0x([1-9a-f][0-9a-f]{0,63}|0)$
chainId
string or null
Match pattern:
^0x([1-9a-f][0-9a-f]{0,15}|0)$
creates
string or null
Match pattern:
^0x[0-9,a-f,A-F]{40}$
from
stringMatch pattern:
^0x[0-9,a-f,A-F]{40}$
gas
stringMatch pattern:
^0x([1-9a-f][0-9a-f]{0,63}|0)$
gasPrice
stringMatch pattern:
^0x([1-9a-f][0-9a-f]{0,63}|0)$
hash
stringMatch pattern:
^0x[0-9,a-f,A-F]{64}$
input
stringMatch pattern:
^0x[0-9a-f]*$
maxFeePerGas
string or null
Match pattern:
^0x([1-9a-f][0-9a-f]{0,63}|0)$
maxPriorityFeePerGas
string or null
Match pattern:
^0x([1-9a-f][0-9a-f]{0,63}|0)$
nonce
stringMatch pattern:
^0x([1-9a-f][0-9a-f]{0,63}|0)$
publicKey
string or null
Match pattern:
^0x[0-9,a-f,A-F]{128}$
r
stringMatch pattern:
^0x([1-9a-f][0-9a-f]{0,63}|0)$
raw
stringMatch pattern:
^0x[0-9a-f]*$
s
stringMatch pattern:
^0x([1-9a-f][0-9a-f]{0,63}|0)$
standardV
string or null
Match pattern:
^0x([1-9a-f][0-9a-f]{0,63}|0)$
status
string or null
Match pattern:
^0x([1-9a-f][0-9a-f]{0,15}|0)$
to
string or null
Match pattern:
^0x[0-9,a-f,A-F]{40}$
transactionIndex
string or null
Match pattern:
^0x([1-9a-f][0-9a-f]{0,63}|0)$
transactionType
string or null
Match pattern:
^0x([1-9a-f][0-9a-f]{0,15}|0)$
v
stringMatch pattern:
^0x([1-9a-f][0-9a-f]{0,63}|0)$
value
stringMatch pattern:
^0x([1-9a-f][0-9a-f]{0,63}|0)$
yParity
string or null
Match pattern:
^0x([1-9a-f][0-9a-f]{0,15}|0)$