Parameters
- blockHashstringREQUIRED
The block hash
- indexstringREQUIRED
An integer of the transaction index position encoded as a hexadecimal
Returns
- objectobject
The transaction response object, or null if no transaction is found
- blockHashstring
(Optional) The hash of the block where this transaction was included; the value is null when the transaction is pending
- blockNumberstring
(Optional) The block number where this transaction was included encoded as hexadecimal; the value is null when the transaction is pending
- 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
- 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
(Optional) The address of the receiver; the value is null for contract creation transactions
- transactionIndexstring
(Optional) The index position of the transaction within the block encoded as hexadecimal; the value is null when the transaction is pending
- valuestring
The value transferred in wei encoded as hexadecimal
- typestring
The transaction type encoded as hexadecimal
- vstring
The standardized V field of the signature encoded as hexadecimal
- rstring
The R field of the signature encoded as hexadecimal
- sstring
The S field of the signature encoded as hexadecimal
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0x7fb636698d5ad9b549795b4b543b055be2f26c80f15a4894abb898d256f03ab7",6"blockNumber": "0x11656f6",7"from": "0x8ef5751dc714dce720edb7e45464f64049ba18a1",8"gas": "0x30ac4",9"gasPrice": "0xf42400",10"hash": "0x8579b7dec12e69dc9355c42e3989b295eadf84cd26ea04df369a881359672654",11"input": "0x9265bb9d00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000642c3984fb086000000000000000000000000000000000000000000000000000000006909ec5100000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000c7d67a9cbb121b3b0b9c053dd9f469523243379a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000044a9059cbb000000000000000000000000e36e63b0c4fb8a1eaa43c80f7b7129fea378099800000000000000000000000000000000000000000000000000000000000186a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041d8071a4c6ea6d0e3edf5251fa6e70468e7b8bb8f49cdfdcedf6f3b80c302e4ff3d6029b46f5dfd9309bd298eddf2ada855d0be3e3d6dd78fec9c3a512a5cb6de1c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041dc98ac44cf5208c31aea0b1ce256fec3f9da9df5a38514425893d4cbea2f91675aecc78a329a2c948182dc0ff5da1f842438583f5297e251429fc76817f6f4e71c00000000000000000000000000000000000000000000000000000000000000",12"nonce": "0xd9d",13"to": "0xeeae6c472be3ced42094b0f5a4f49380d0cfbccc",14"transactionIndex": "0x0",15"value": "0x0",16"type": "0x0",17"v": "0x1628",18"r": "0x96072887c82fe284ca57ba6265fdfb6d735121675f555fa55f1aa3ca6eab4b64",19"s": "0x4d65ce5ee4fd110bf03e9175ada1ab3621ce9500f211c255def53a4b1c14a655"20}21}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0x7fb636698d5ad9b549795b4b543b055be2f26c80f15a4894abb898d256f03ab7",6"blockNumber": "0x11656f6",7"from": "0x8ef5751dc714dce720edb7e45464f64049ba18a1",8"gas": "0x30ac4",9"gasPrice": "0xf42400",10"hash": "0x8579b7dec12e69dc9355c42e3989b295eadf84cd26ea04df369a881359672654",11"input": "0x9265bb9d00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000642c3984fb086000000000000000000000000000000000000000000000000000000006909ec5100000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000c7d67a9cbb121b3b0b9c053dd9f469523243379a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000044a9059cbb000000000000000000000000e36e63b0c4fb8a1eaa43c80f7b7129fea378099800000000000000000000000000000000000000000000000000000000000186a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041d8071a4c6ea6d0e3edf5251fa6e70468e7b8bb8f49cdfdcedf6f3b80c302e4ff3d6029b46f5dfd9309bd298eddf2ada855d0be3e3d6dd78fec9c3a512a5cb6de1c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041dc98ac44cf5208c31aea0b1ce256fec3f9da9df5a38514425893d4cbea2f91675aecc78a329a2c948182dc0ff5da1f842438583f5297e251429fc76817f6f4e71c00000000000000000000000000000000000000000000000000000000000000",12"nonce": "0xd9d",13"to": "0xeeae6c472be3ced42094b0f5a4f49380d0cfbccc",14"transactionIndex": "0x0",15"value": "0x0",16"type": "0x0",17"v": "0x1628",18"r": "0x96072887c82fe284ca57ba6265fdfb6d735121675f555fa55f1aa3ca6eab4b64",19"s": "0x4d65ce5ee4fd110bf03e9175ada1ab3621ce9500f211c255def53a4b1c14a655"20}21}