Documentation Index
Fetch the complete documentation index at: https://docs.moralis.com/llms.txt
Use this file to discover all available pages before exploring further.
Path parameters
Your API key for authentication
Request
Address to get transaction count for
Tag for the state (“latest”, “earliest”, “pending”). Defaults to “latest” if null
Example request params
[
"0x407d73d8a49eeb85d32cf465507dd71d507100c1",
"latest"
]
curl https://site1.moralis-nodes.com/avalanche/:apiKey \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0x407d73d8a49eeb85d32cf465507dd71d507100c1", "latest"], "id": 1}'
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x1"
}