starknet_getNonce
POST
/{apiKey}
Get the nonce associated with the given address in the given block
Path Parameters
stringrequireddefaults to
docs-demoFor higher throughput, create your own API key
Request
object or enumrequired
The hash of the requested block, or number (height) of the requested block, or a block tag
Block hash, number or tag
string
format: "^0x(0|[a-fA-F1-9]{1}[a-fA-F0-9]{0,62})$"requiredThe address of the contract whose nonce we're seeking
Responses
200
The contract's nonce at the requested state
A field element. Represented by at most 63 hex digits
Was this page helpful?