Get Transaction Count
get_transaction_countRetrieve an address's transaction count (nonce) on mainnet, Polygon, or Polygon Amoy to check whether a wallet has been used. Supports optional custom RPC URLs.
Instructions
Get transaction count (nonce) for an address - useful for checking if address has been used
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"address": "<address>"
},
"name": "get_transaction_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Blockchain to query | polygon |
| rpcUrl | No | Optional custom RPC URL (defaults to publicnode.com for the selected chain) | |
| address | Yes | Wallet address (0x...) |