cast_nonce
Query the transaction nonce for an address using an RPC URL and optional block tag to check account activity or prepare a transaction.
Instructions
Query the transaction nonce of an address (cast nonce).
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>",
"rpcUrl": "<rpcUrl>"
},
"name": "cast_nonce"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rpcUrl | Yes | RPC URL of the network | |
| address | Yes | Address to query the nonce of | |
| blockTag | No | Block to query at, e.g. "latest" or a number |