Skip to main content

eth_getTransactionByHash RPC Method

Returns the information about a transaction from a transaction hash.

Updated on
Apr 03, 2026

Parameters

hash
string
REQUIRED

The hash of a transaction

Returns

object
object

The transaction response object, or null if no transaction is found

blockHash
string

The hash of the block containing this transaction, or null if pending

blockNumber
string

The block number containing this transaction, or null if pending

chainId
string

The chain ID for the transaction encoded as a hexadecimal string

from
string

The address of the sender

gas
string

The gas provided by the sender, encoded as hexadecimal

gasPrice
string

The gas price provided by the sender in wei, encoded as hexadecimal

hash
string

The hash of the transaction

input
string

The data sent along with the transaction

nonce
string

The number of transactions made by the sender prior to this one, encoded as hexadecimal

to
string

The address of the receiver, or null for contract creation

transactionIndex
string

The index of the transaction in the block, or null if pending

value
string

The value transferred in wei, encoded as hexadecimal

type
string

The transaction type

v
string

The standardized V field of the signature

r
string

The R field of the signature

s
string

The S field of the signature

maxFeePerBlobGas
null

The max fee per blob gas, or null if not applicable

blobVersionedHashes
null

The blob versioned hashes, or null if not applicable

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"blockHash": "0x14431d03f1bd73799eb2a364d122a6878bd9d9f522bf372f97b2e034e27af763",
6
"blockNumber": "0x264ec1c",
7
"from": "0xb3c506d60d45abb917ee10a947749a098b497d3d",
8
"gas": "0x3b86e",
9
"gasPrice": "0x10a5bb6b00",
10
"hash": "0x0a0e5de068f7afd79c4fd47670a90a44ea461ff77f5f415b80ef5225fcfb9b30",
11
"input": "0xa026383e000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad380000000000000000000000000555e30da8f98308edb960aa94c0db47230d2b9c0000000000000000000000000000000000000000000000000000000000000032000000000000000000000000b3c506d60d45abb917ee10a947749a098b497d3d00000000000000000000000000000000000000000000000000000000688376bf00000000000000000000000000000000000000000000004276f01ab3827800000000000000000000000000000000000000000000000000000000000000055fc90000000000000000000000000000000000000000000000000000000000000000",
12
"nonce": "0x20487",
13
"to": "0x5543c6176feb9b4b179078205d7c29eea2e2d695",
14
"transactionIndex": "0x2",
15
"value": "0x0",
16
"type": "0x0",
17
"chainId": "0x92",
18
"v": "0x148",
19
"r": "0xf3eccb0f7bf94d1b14d4a25501d669be4a1aa6537c334378a8bfd3dc455408b2",
20
"s": "0x7d3ccf516940c37a64e425e7c196ed4f0404140e21939c1428f682d96bc9e364",
21
"maxFeePerBlobGas": null,
22
"blobVersionedHashes": null
23
}
24
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"blockHash": "0x14431d03f1bd73799eb2a364d122a6878bd9d9f522bf372f97b2e034e27af763",
6
"blockNumber": "0x264ec1c",
7
"from": "0xb3c506d60d45abb917ee10a947749a098b497d3d",
8
"gas": "0x3b86e",
9
"gasPrice": "0x10a5bb6b00",
10
"hash": "0x0a0e5de068f7afd79c4fd47670a90a44ea461ff77f5f415b80ef5225fcfb9b30",
11
"input": "0xa026383e000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad380000000000000000000000000555e30da8f98308edb960aa94c0db47230d2b9c0000000000000000000000000000000000000000000000000000000000000032000000000000000000000000b3c506d60d45abb917ee10a947749a098b497d3d00000000000000000000000000000000000000000000000000000000688376bf00000000000000000000000000000000000000000000004276f01ab3827800000000000000000000000000000000000000000000000000000000000000055fc90000000000000000000000000000000000000000000000000000000000000000",
12
"nonce": "0x20487",
13
"to": "0x5543c6176feb9b4b179078205d7c29eea2e2d695",
14
"transactionIndex": "0x2",
15
"value": "0x0",
16
"type": "0x0",
17
"chainId": "0x92",
18
"v": "0x148",
19
"r": "0xf3eccb0f7bf94d1b14d4a25501d669be4a1aa6537c334378a8bfd3dc455408b2",
20
"s": "0x7d3ccf516940c37a64e425e7c196ed4f0404140e21939c1428f682d96bc9e364",
21
"maxFeePerBlobGas": null,
22
"blobVersionedHashes": null
23
}
24
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free