eth_getTransactionByBlockNumberAndIndex
POST
/{apiKey}
Returns information about a transaction by block number and transaction index position.
Path Parameters
apiKeystringrequireddefaults to docs-demoFor higher throughput, create your own API key
Request
Blockstring or enumrequiredThe block number or tag ('latest', 'earliest', 'pending') containing the transaction.
Transaction indexstringformat: "^0x([1-9a-f]+[0-9a-f]*|0)$"requiredThe index position of the transaction in the block's transaction list, as a hexadecimal string.
Responses
200
The transaction object containing various properties of the transaction.
Was this page helpful?