Skip to main content

eth_getTransactionByBlockNumberAndIndex

Returns information about a transaction by block number and transaction index position.

Parameters

block_tag*
Type: oneOf: Quantity (hex) | Tag
Enter a block number or latest
index*
Type: integer

Returns

object

Properties

Examples:
{ "type": "0x2", "chainId": "0x1", "nonce": "0x16d", "gas": "0x46a02", "maxFeePerGas": "0x7fc1a20a8", "maxPriorityFeePerGas": "0x59682f00", "to": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45", "value": "0x4a6ed55bbcc180", "accessList": [], "input": "0x5ae401dc00000000000000000000000000000000000000000000000000000000628ced5b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000e442712a6700000000000000000000000000000000000000000000b3ff1489674e11c40000000000000000000000000000000000000000000000000000004a6ed55bbcc18000000000000000000000000000000000000000000000000000000000000000800000000000000000000000003cf412d970474804623bb4e3a42de13f9bca54360000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000003a75941763f31c930b19c041b709742b0b31ebb600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000412210e8a00000000000000000000000000000000000000000000000000000000", "r": "0x7f2153019a74025d83a73effdd91503ceecefac7e35dd933adc1901c875539aa", "s": "0x334ab2f714796d13c825fddf12aad01438db3a8152b2fe3ef7827707c25ecab3", "yParity": "0x0", "v": "0x0", "hash": "0x0e07d8b53ed3d91314c80e53cf25bcde02084939395845cbb625b029d568135c", "blockHash": "0x883f974b17ca7b28cb970798d1c80f4d4bb427473dc6d39b2a7fe24edc02902d", "blockNumber": "0xe26e6d", "transactionIndex": "0xad", "from": "0x3cf412d970474804623bb4e3a42de13f9bca5436", "gasPrice": "0x50101df3a" }

📤 Request