cast_nonce
Retrieve the transaction nonce of an address on zkSync networks. Specify the address and RPC URL to get the current nonce for transaction ordering.
Instructions
Query the transaction nonce of an address (cast nonce). Note: on zkSync this returns the TX nonce only, not the deploy nonce.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Address to query the nonce of | |
| rpcUrl | Yes | RPC URL of the network | |
| blockTag | No | Block to query at, e.g. "latest", "pending", or a block number |