Skip to main content

ots_getTransactionBySenderAndNonce RPC Method

Given a sender address and a nonce, returns the tx hash or null if not found.

Updated on
Nov 2, 2023

ots_getTransactionBySenderAndNonce RPC Method

Parameters

sender
string
REQUIRED
The sender ETH address
nonce
integer
REQUIRED
The sender nonce

Returns

result
string
The transaction hash or null if it doesn't exist
Request
1
curl https://docs-demo.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"method":"ots_getTransactionBySenderAndNonce","params":["0x690B9A9E9aa1C9dB991C7721a92d351Db4FaC990",24],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free