Skip to main content

eth_getTransactionByHash Flashblock RPC Method

Returns the information about a transaction from a transaction hash.

Updated on
May 06, 2026

Parameters

hash
string
REQUIRED

The hash of a transaction

Returns

object
object

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

type
string

The transaction type

sourceHash
string

The hash of the source transaction that created this transaction

from
string

The address of the sender

to
string

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

mint
string

The minting event associated with the transaction

value
string

The value transferred in wei encoded as hexadecimal

gas
string

The gas provided by the sender, encoded as hexadecimal

input
string

The data sent along with the transaction

hash
string

The hash of the transaction

r
string

The R field of the signature

s
string

The S field of the signature

yParity
string

The parity bit used in signature recovery

v
string

The standardized V field of the signature

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

transactionIndex
string

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

depositReceiptVersion
string

The version of a deposit receipt

gasPrice
string

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

nonce
string

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

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"blockHash": "0x1949aaec5140f62a0f701b977ac0ec162f81b40cc049006da145a69e7dfb9813",
6
"blockNumber": "0x6e69674",
7
"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",
8
"gas": "0xf4240",
9
"gasPrice": "0x0",
10
"hash": "0x2c4c4979e226139eb70762c9ffee2920e7e82571e512ea5712c43d55cdb26eb4",
11
"input": "0x015d8eb900000000000000000000000000000000000000000000000000000000012467f10000000000000000000000000000000000000000000000000000000065c1065300000000000000000000000000000000000000000000000000000007d847dfb8b46bfd7058ed1df81957bd79c6fc8120380faf9806e47c6a298df03e303c5d7100000000000000000000000000000000000000000000000000000000000000030000000000000000000000006887246668a3b87f54deb3b94ba47a6f63f3298500000000000000000000000000000000000000000000000000000000000000bc00000000000000000000000000000000000000000000000000000000000a6fe0",
12
"nonce": "0xa0d3fc",
13
"to": "0x4200000000000000000000000000000000000015",
14
"transactionIndex": "0x0",
15
"value": "0x0",
16
"type": "0x7e",
17
"v": "0x0",
18
"r": "0x0",
19
"s": "0x0",
20
"sourceHash": "0xb5f9d01013fc12a23248dc1f10dde11cc89c4daf1ac537e920de45317db0c634",
21
"mint": "0x0",
22
"depositReceiptVersion": "0x1"
23
}
24
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"blockHash": "0x1949aaec5140f62a0f701b977ac0ec162f81b40cc049006da145a69e7dfb9813",
6
"blockNumber": "0x6e69674",
7
"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",
8
"gas": "0xf4240",
9
"gasPrice": "0x0",
10
"hash": "0x2c4c4979e226139eb70762c9ffee2920e7e82571e512ea5712c43d55cdb26eb4",
11
"input": "0x015d8eb900000000000000000000000000000000000000000000000000000000012467f10000000000000000000000000000000000000000000000000000000065c1065300000000000000000000000000000000000000000000000000000007d847dfb8b46bfd7058ed1df81957bd79c6fc8120380faf9806e47c6a298df03e303c5d7100000000000000000000000000000000000000000000000000000000000000030000000000000000000000006887246668a3b87f54deb3b94ba47a6f63f3298500000000000000000000000000000000000000000000000000000000000000bc00000000000000000000000000000000000000000000000000000000000a6fe0",
12
"nonce": "0xa0d3fc",
13
"to": "0x4200000000000000000000000000000000000015",
14
"transactionIndex": "0x0",
15
"value": "0x0",
16
"type": "0x7e",
17
"v": "0x0",
18
"r": "0x0",
19
"s": "0x0",
20
"sourceHash": "0xb5f9d01013fc12a23248dc1f10dde11cc89c4daf1ac537e920de45317db0c634",
21
"mint": "0x0",
22
"depositReceiptVersion": "0x1"
23
}
24
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free