eth_getTransactionCount

Returns the nonce of an account in the state. NOTE: The name eth_getTransactionCount reflects the historical fact that an account's nonce and sent transaction count were the same. After the Pectra fork, with the inclusion of EIP-7702, this is no longer true.

https://api.1inch.com/web3/1
Supported on:
Ethereum

Parameters

Address (required)

Address
* string

Block (required)

Block
* any
anyOf[0]
string
anyOf[1]
string (Enum)
earliest
finalized
safe
latest
pending
anyOf[2]
string

Request

Request
object
jsonrpc
* string (Enum)
2.0
method
* string
params
array
items
any
oneOf[0]
string
oneOf[1]
any
anyOf[0]
string
anyOf[1]
string (Enum)
earliest
finalized
safe
latest
pending
anyOf[2]
string
id
* number
1

Response

Account nonce

Account nonce
string
JSON
1

Did you find what you need?