Parameters
- blockNumberstringREQUIRED
The block number as a string in hexadecimal format or tags. The supported tag values include earliest for the earliest/genesis block, latest for the latest mined block, pending for the pending state/transactions, safe for the most recent secure block, and finalized for the most recent secure block accepted by more than 2/3 of validators. safe and finalized are only supported on Ethereum, Gnosis, Arbitrum, Arbitrum Nova, and Avalanche C-chain
- indexstringREQUIRED
An integer of the transaction index position encoded as a hexadecimal
Returns
- objectobject | null
The transaction response object, or null if no transaction is found:
- blockHashstring | null
The hash of the block where this log was in. null when it's a pending log
- blockNumberstring | null
The block number where this log was in. null when it's a pending log
- blockTimestampstring
The timestamp of the block where this transaction was included, encoded as hexadecimal
- fromstring
The address of the sender
- gasstring
The gas provided by the sender, encoded as hexadecimal
- gasPricestring
The gas price provided by the sender in wei, encoded as hexadecimal
- maxFeePerGasstring
The maximum fee per gas set in the transaction
- maxPriorityFeePerGasstring
The maximum priority gas fee set in the transaction
- hashstring
The hash of the transaction
- inputstring
The data sent along with the transaction
- noncestring
The number of transactions made by the sender prior to this one encoded as hexadecimal
- tostring | null
The address of the receiver. null when it's a contract creation transaction
- transactionIndexstring | null
The integer of the transaction's index position that the log was created from. null when it's a pending log
- valuestring
The value transferred in wei encoded as hexadecimal
- typestring
The transaction type
- accessListarray
A list of addresses and storage keys that the transaction plans to access
- chainIdstring
The chain id of the transaction, if any
- vstring
The standardized V field of the signature
- rstring
The R field of the signature
- sstring
The S field of the signature
- yParitystring
The parity of the y-value of the secp256k1 signature, encoded as hexadecimal
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0xa917fcc721a5465a484e9be17cda0cc5493933dd3bc70c9adbee192cb419c9d7",6"blockNumber": "0xc5043f",7"blockTimestamp": "0x6100bc82",8"from": "0xc4a675c5041e9687768ce154554d6cddd2540712",9"gas": "0xf4240",10"gasPrice": "0x0",11"hash": "0x23e3362a76c8b9370dc65bac8eb1cda1d408ac238a466cfe690248025254bf52",12"input": "0x1cff79cd000000000000000000000000a4a69bd8a6c99d754566da6544438e1b5973591e000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001a48c983612000000000000000000000000cba47689202d31575bfa204efe70e2c83d29da4d0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000001f573d6fb3f13d689ff844b4ce37794d79a7ff1c00000000000000000000000056178a0d5f301baf6cf3e1cd53d9863437345bf9000000000000000000000000fee7eeaa0c2f3f7c7e6301751a8de55ce4d059ec00000000000000000000000000000000000000000000000000000000005b8d8000000000000000000000000000000000000000000000000000000000b2d05e0000000000000000000000000000000000000000000000000000004fd88ce2b8b600000000000000000000000000000166a1f7cf9ecbf2cca9726da712b7c8000000000000000000000000000000000000000000022e7b8d2ad6442e7f6a000000000000000000000000000000000000000000000000000000000000006100bcfa000000000000000000000000000000000000000000000000000000000000003f000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000",13"nonce": "0x607d",14"to": "0xa57bd00134b2850b2a1c55860c9e9ea100fdd6cf",15"transactionIndex": "0x0",16"value": "0x0",17"type": "0x1",18"accessList": [19{20"address": "0x52ae12abe5d8bd778bd5397f99ca900624cfadd4",21"storageKeys": [22"0x44a5b8b1e63f53ad70167c41a4041b0b6b5f14adc886eec519dc90e1b14375a8",23"0xd2a7b5b83c07b6760039cbccd0ca2f18d89b23c34a5d5e4463285f2a3e2468ff"24]25},26{27"address": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",28"storageKeys": [29"0x0000000000000000000000000000000000000000000000000000000000000005",30"0xb547c99775228368f713c105c8e2569f4eeff64049f0a04e27adaf502cb32256",31"0xf7c84b5d1f3a0563cd20b346c00dcaaaf749870e80d340ce8dc6213863709a60"32]33},34{35"address": "0x2f9ec37d6ccfff1cab21733bdadede11c823ccb0",36"storageKeys": [37"0x2f97bae778107453c9fa4e71a644cd0a05ed4723a03b3b8af2d1b088c870a29b",38"0xb60d239ff9659f468f86510b3362e39665434128808acc7ec01162d3cdd1cd06",39"0x0000000000000000000000000000000000000000000000000000000000000002",40"0x0000000000000000000000000000000000000000000000000000000000000003"41]42},43{44"address": "0xfee7eeaa0c2f3f7c7e6301751a8de55ce4d059ec",45"storageKeys": [46"0x0000000000000000000000000000000000000000000000000000000000000000",47"0x0000000000000000000000000000000000000000000000000000000000000006"48]49},50{51"address": "0xa4a69bd8a6c99d754566da6544438e1b5973591e",52"storageKeys": []53},54{55"address": "0x1f573d6fb3f13d689ff844b4ce37794d79a7ff1c",56"storageKeys": [57"0x0a5f22deea0e0bbeb15c6065e354e3a681aaa10b5580c8d340f29a6863bfb7e8",58"0x5befb1066c6de63d54074968889df3b90a145629cf3f823ddbe406d3d4591678",59"0x6f50e4502f0b091d7555b01ede4a5d06ca92c50d65b9e6d40a485b6943f37cd4",60"0x000000000000000000000000000000000000000000000000000000000000000a",61"0x1c3b3c94d0c72b7f21d200ecbc5f69f7566fc1cfb938be71bdf5893d4003db1a",62"0x16f6374328f5eeb369ad19d3c5c4511c1edf435a758c4f3ceb6ff39313cbc048"63]64},65{66"address": "0xcba47689202d31575bfa204efe70e2c83d29da4d",67"storageKeys": [68"0x0000000000000000000000000000000000000000000000000000000000000005",69"0x000000000000000000000000000000000000000000000000000000000000000a",70"0x0000000000000000000000000000000000000000000000000000000000000004",71"0x0000000000000000000000000000000000000000000000000000000000000009",72"0x609d0718fd54704574dad7ab71221534c39a496e9d44b963a09c499af4f67393",73"0x0000000000000000000000000000000000000000000000000000000000000002",74"0xf0143fb5658938af6c252334909b934918a50cd50669454a3dfc1f115b325d7f"75]76}77],78"chainId": "0x1",79"v": "0x1",80"r": "0xee6dabd2507fa02fff121c94a4546d1a9f961aae30d813d58f3536c60c64921",81"s": "0x5585a3cfc0cd639bf786e0b8f2bd4fd4471a7aa70cb10d93d0b2bee8064914c1",82"yParity": "0x1"83}84}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0xa917fcc721a5465a484e9be17cda0cc5493933dd3bc70c9adbee192cb419c9d7",6"blockNumber": "0xc5043f",7"blockTimestamp": "0x6100bc82",8"from": "0xc4a675c5041e9687768ce154554d6cddd2540712",9"gas": "0xf4240",10"gasPrice": "0x0",11"hash": "0x23e3362a76c8b9370dc65bac8eb1cda1d408ac238a466cfe690248025254bf52",12"input": "0x1cff79cd000000000000000000000000a4a69bd8a6c99d754566da6544438e1b5973591e000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001a48c983612000000000000000000000000cba47689202d31575bfa204efe70e2c83d29da4d0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000001f573d6fb3f13d689ff844b4ce37794d79a7ff1c00000000000000000000000056178a0d5f301baf6cf3e1cd53d9863437345bf9000000000000000000000000fee7eeaa0c2f3f7c7e6301751a8de55ce4d059ec00000000000000000000000000000000000000000000000000000000005b8d8000000000000000000000000000000000000000000000000000000000b2d05e0000000000000000000000000000000000000000000000000000004fd88ce2b8b600000000000000000000000000000166a1f7cf9ecbf2cca9726da712b7c8000000000000000000000000000000000000000000022e7b8d2ad6442e7f6a000000000000000000000000000000000000000000000000000000000000006100bcfa000000000000000000000000000000000000000000000000000000000000003f000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000",13"nonce": "0x607d",14"to": "0xa57bd00134b2850b2a1c55860c9e9ea100fdd6cf",15"transactionIndex": "0x0",16"value": "0x0",17"type": "0x1",18"accessList": [19{20"address": "0x52ae12abe5d8bd778bd5397f99ca900624cfadd4",21"storageKeys": [22"0x44a5b8b1e63f53ad70167c41a4041b0b6b5f14adc886eec519dc90e1b14375a8",23"0xd2a7b5b83c07b6760039cbccd0ca2f18d89b23c34a5d5e4463285f2a3e2468ff"24]25},26{27"address": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",28"storageKeys": [29"0x0000000000000000000000000000000000000000000000000000000000000005",30"0xb547c99775228368f713c105c8e2569f4eeff64049f0a04e27adaf502cb32256",31"0xf7c84b5d1f3a0563cd20b346c00dcaaaf749870e80d340ce8dc6213863709a60"32]33},34{35"address": "0x2f9ec37d6ccfff1cab21733bdadede11c823ccb0",36"storageKeys": [37"0x2f97bae778107453c9fa4e71a644cd0a05ed4723a03b3b8af2d1b088c870a29b",38"0xb60d239ff9659f468f86510b3362e39665434128808acc7ec01162d3cdd1cd06",39"0x0000000000000000000000000000000000000000000000000000000000000002",40"0x0000000000000000000000000000000000000000000000000000000000000003"41]42},43{44"address": "0xfee7eeaa0c2f3f7c7e6301751a8de55ce4d059ec",45"storageKeys": [46"0x0000000000000000000000000000000000000000000000000000000000000000",47"0x0000000000000000000000000000000000000000000000000000000000000006"48]49},50{51"address": "0xa4a69bd8a6c99d754566da6544438e1b5973591e",52"storageKeys": []53},54{55"address": "0x1f573d6fb3f13d689ff844b4ce37794d79a7ff1c",56"storageKeys": [57"0x0a5f22deea0e0bbeb15c6065e354e3a681aaa10b5580c8d340f29a6863bfb7e8",58"0x5befb1066c6de63d54074968889df3b90a145629cf3f823ddbe406d3d4591678",59"0x6f50e4502f0b091d7555b01ede4a5d06ca92c50d65b9e6d40a485b6943f37cd4",60"0x000000000000000000000000000000000000000000000000000000000000000a",61"0x1c3b3c94d0c72b7f21d200ecbc5f69f7566fc1cfb938be71bdf5893d4003db1a",62"0x16f6374328f5eeb369ad19d3c5c4511c1edf435a758c4f3ceb6ff39313cbc048"63]64},65{66"address": "0xcba47689202d31575bfa204efe70e2c83d29da4d",67"storageKeys": [68"0x0000000000000000000000000000000000000000000000000000000000000005",69"0x000000000000000000000000000000000000000000000000000000000000000a",70"0x0000000000000000000000000000000000000000000000000000000000000004",71"0x0000000000000000000000000000000000000000000000000000000000000009",72"0x609d0718fd54704574dad7ab71221534c39a496e9d44b963a09c499af4f67393",73"0x0000000000000000000000000000000000000000000000000000000000000002",74"0xf0143fb5658938af6c252334909b934918a50cd50669454a3dfc1f115b325d7f"75]76}77],78"chainId": "0x1",79"v": "0x1",80"r": "0xee6dabd2507fa02fff121c94a4546d1a9f961aae30d813d58f3536c60c64921",81"s": "0x5585a3cfc0cd639bf786e0b8f2bd4fd4471a7aa70cb10d93d0b2bee8064914c1",82"yParity": "0x1"83}84}