curl --request POST \
--url https://ronin-mainnet.core.chainstack.com/3997273fc956a67dc6982384500e669e \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_getTransactionCount",
"params": [
"0xa459322a949b97c1cbcf3c82dfc4de9fefc6fb7c",
"latest"
]
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": "<string>"
}curl --request POST \
--url https://ronin-mainnet.core.chainstack.com/3997273fc956a67dc6982384500e669e \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_getTransactionCount",
"params": [
"0xa459322a949b97c1cbcf3c82dfc4de9fefc6fb7c",
"latest"
]
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": "<string>"
}eth_getTransactionCount method returns the number of transactions sent from a specified address. This count includes the transaction index position in the block.
address: The address to get the number of transactions from.blockParameter (optional): This can be a hexadecimal block number, or the strings “latest”, “earliest”, or “pending”, indicating the state from which to count the transactions.result: The number of transactions sent from the address, returned as a hexadecimal number.Was this page helpful?