Skip to main content

Path parameters

apiKey
string
required
Your API key for authentication

Request

address
string
required
Address to get transaction count for
tag
string
Tag for the state (“latest”, “earliest”, “pending”). Defaults to “latest” if null

Example request params

[
  "0x407d73d8a49eeb85d32cf465507dd71d507100c1",
  "latest"
]
curl https://site1.moralis-nodes.com/zetachain/: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"
}