Skip to content
Alchemy Logo

eth_getTransactionBySenderAndNonce

POST
/{apiKey}
CUs20

Returns the hash of the transaction sent by the given sender address at the specified nonce, or null if no such transaction exists. Originally introduced by the Otterscan project (as ots_getTransactionBySenderAndNonce) and now exposed under the standard eth_ namespace. Requires an archive-capable backend because the lookup walks historical account state.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

stringformat: "^0x[0-9a-fA-F]{40}$"required

The address of the sender (externally owned account) that submitted the transaction.

stringformat: "^0x([1-9a-f]+[0-9a-f]*|0)$"required

The nonce of the transaction to look up, as a hexadecimal string.

Responses

200

The hash of the transaction sent by the given sender at the given nonce, or null if no such transaction exists.

Was this page helpful?