Get the current nonce of an account
GET//v1/chains/:chainID/core/accounts/account/:agentID/nonce
Get the current nonce of an account
Request
Path Parameters
chainID stringrequired
ChainID (Bech32)
agentID stringrequired
AgentID (Bech32 for WasmVM | Hex for EVM)
Query Parameters
block string
Block index or trie root
Responses
- 200
- 401
The current nonce of an account
- application/json
- Schema
- Example (from schema)
Schema
nonce stringrequired
The nonce (uint64 as string)
{
"nonce": "nonce"
}
Unauthorized (Wrong permissions, missing token)
- application/json
- Schema
- Example (from schema)
Schema
error stringrequired
missingPermission stringrequired
{
"error": "string",
"missingPermission": "string"
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET '/v1/chains/:chainID/core/accounts/account/:agentID/nonce' \
-H 'Accept: application/json'
ResponseClear