Skip to main content

eth_getTransactionByHash Flashblock RPC Method

Returns the information about a transaction from a transaction hash.

Updated on
Aug 31, 2026

Parameters

hash
string
REQUIRED

The hash of a transaction

Returns

object
object

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

accessList
array

A list of addresses and storage keys that the transaction will access

address
string

The address that will be accessed

storageKeys
array

The storage keys that will be accessed at this address

blockHash
string

The hash of the block where this transaction was in. Null when it's a pending log

blockNumber
string

The block number where this transaction was in. Null when it's a pending log

blockTimestamp
string

The timestamp of the block where this log was included, encoded as hexadecimal.

chainId
string

The chain id of the transaction, if any

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

maxFeePerGas
string

The maximum fee per gas set in the transaction

maxPriorityFeePerGas
string

The maximum priority gas fee set in the transaction

nonce
string

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

r
string

The R field of the signature

s
string

The S field of the signature

to
string

The address of the receiver. Null when it's a contract creation transaction

transactionIndex
string

The integer of the transaction's index position that the log was created from. Null when it's a pending log

type
string

The transaction type

v
string

The standardized V field of the signature

value
string

The value transferred in wei encoded as hexadecimal

yParity
string

The parity bit used in signature recovery

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"result": {
4
"accessList": [],
5
"blockHash": "0x415aac98a7007e1e40980402bf6c52c077dd8d2e137dfea24da702b04486bf26",
6
"blockNumber": "0x205203b",
7
"blockTimestamp": "0x6a870c97",
8
"chainId": "0x164ce",
9
"from": "0x5ad176ebb13cabe62ee7c07f52a67b4a48cbef83",
10
"gas": "0x61a80",
11
"gasPrice": "0x4c4c57",
12
"hash": "0x79dfb44c80e7282b6a7d5a4e917c06ef15778df6f488682b0ee2a1677d6dbae0",
13
"input": "0xda1750b0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000404624044d1509a0460ae9dc9236b04602aaee65ef7045e993727d9b3",
14
"maxFeePerGas": "0x2faf080",
15
"maxPriorityFeePerGas": "0x4c4b40",
16
"nonce": "0x15d3d34",
17
"r": "0x4b8a5f52cfe9190b6f02b6ff096b05aec6abcdfc50c45a4ceeffd6680dee972a",
18
"s": "0x27555c0befd4312b2c97b97d3bee8d3d03d297287904d6583cdf41dc937746d8",
19
"to": "0xbbe55e29bbc6d71ecab1ac011c9ac5206ab2fe74",
20
"transactionIndex": "0x1",
21
"type": "0x2",
22
"v": "0x0",
23
"value": "0x0",
24
"yParity": "0x0"
25
},
26
"id": 1
27
}
1
{
2
"jsonrpc": "2.0",
3
"result": {
4
"accessList": [],
5
"blockHash": "0x415aac98a7007e1e40980402bf6c52c077dd8d2e137dfea24da702b04486bf26",
6
"blockNumber": "0x205203b",
7
"blockTimestamp": "0x6a870c97",
8
"chainId": "0x164ce",
9
"from": "0x5ad176ebb13cabe62ee7c07f52a67b4a48cbef83",
10
"gas": "0x61a80",
11
"gasPrice": "0x4c4c57",
12
"hash": "0x79dfb44c80e7282b6a7d5a4e917c06ef15778df6f488682b0ee2a1677d6dbae0",
13
"input": "0xda1750b0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000404624044d1509a0460ae9dc9236b04602aaee65ef7045e993727d9b3",
14
"maxFeePerGas": "0x2faf080",
15
"maxPriorityFeePerGas": "0x4c4b40",
16
"nonce": "0x15d3d34",
17
"r": "0x4b8a5f52cfe9190b6f02b6ff096b05aec6abcdfc50c45a4ceeffd6680dee972a",
18
"s": "0x27555c0befd4312b2c97b97d3bee8d3d03d297287904d6583cdf41dc937746d8",
19
"to": "0xbbe55e29bbc6d71ecab1ac011c9ac5206ab2fe74",
20
"transactionIndex": "0x1",
21
"type": "0x2",
22
"v": "0x0",
23
"value": "0x0",
24
"yParity": "0x0"
25
},
26
"id": 1
27
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free