Skip to main content

eth_getTransactionBySenderAndNonce RPC Method

Returns a transaction by looking up the sender address and account nonce.

Updated on
May 21, 2026

Parameters

sender
string
REQUIRED

The address of the sender

nonce
string
REQUIRED

The nonce of the transaction encoded as a hexadecimal

Returns

object
object | null

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

blockHash
string | null

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

blockNumber
string | null

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

blockTimestamp
string

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

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

maxFeePerGas
string

The maximum fee per gas set in the transaction

maxPriorityFeePerGas
string

The maximum priority gas fee set in the transaction

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 before this one encoded as hexadecimal

to
string | null

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

transactionIndex
string | null

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

value
string

The value transferred in wei encoded as hexadecimal

type
string

The transaction type

accessList
array

A list of addresses and storage keys that the transaction plans to access

chainId
string

The chain id of the transaction, if any

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

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"type": "0x0",
6
"nonce": "0x5",
7
"gasPrice": "0xba43b7400",
8
"gas": "0x81650",
9
"to": "0x7e2d0fe0ffdd78c264f8d40d19acb7d04390c6e8",
10
"value": "0x9184e72a0000",
11
"input": "0x5a9809ed000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960450000000000000000000000001db3439a222c519ab44bb1144fc28167b4fa6ee600000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000009184e72a00000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000010000000000000000000000005ed8cee6b63b1c6afce3ad7c92f4fd7e1b8fad9f000000000000000000000000000000000000000000000000000000000000002f54686520717569636b2062726f776e20666f78206a756d706564206f766572207468652079656c6c6f7720646f672e0000000000000000000000000000000000",
12
"r": "0xcc95a0eed13cfb31a0556f58899040c9c54e6f8d040611e34d47866dc489bffd",
13
"s": "0x4e21d5a30fe41f42f505134472552873c12225ab1b1eb7d5f76eb7b7e2b02203",
14
"v": "0x1b",
15
"hash": "0x66590e1f93e649099e253739512ad8735f9bbaba3016ca190e12cb10d5b1951b",
16
"blockHash": "0xd0227e264924b7588b9a5dba2709896a20293b1afb8463a43c6294beacbdec72",
17
"blockNumber": "0x4ea0b",
18
"transactionIndex": "0x8",
19
"from": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
20
"blockTimestamp": "0x560e61da"
21
}
22
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"type": "0x0",
6
"nonce": "0x5",
7
"gasPrice": "0xba43b7400",
8
"gas": "0x81650",
9
"to": "0x7e2d0fe0ffdd78c264f8d40d19acb7d04390c6e8",
10
"value": "0x9184e72a0000",
11
"input": "0x5a9809ed000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960450000000000000000000000001db3439a222c519ab44bb1144fc28167b4fa6ee600000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000009184e72a00000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000010000000000000000000000005ed8cee6b63b1c6afce3ad7c92f4fd7e1b8fad9f000000000000000000000000000000000000000000000000000000000000002f54686520717569636b2062726f776e20666f78206a756d706564206f766572207468652079656c6c6f7720646f672e0000000000000000000000000000000000",
12
"r": "0xcc95a0eed13cfb31a0556f58899040c9c54e6f8d040611e34d47866dc489bffd",
13
"s": "0x4e21d5a30fe41f42f505134472552873c12225ab1b1eb7d5f76eb7b7e2b02203",
14
"v": "0x1b",
15
"hash": "0x66590e1f93e649099e253739512ad8735f9bbaba3016ca190e12cb10d5b1951b",
16
"blockHash": "0xd0227e264924b7588b9a5dba2709896a20293b1afb8463a43c6294beacbdec72",
17
"blockNumber": "0x4ea0b",
18
"transactionIndex": "0x8",
19
"from": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
20
"blockTimestamp": "0x560e61da"
21
}
22
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free