Get the current nonce of an account
GET/v1/chain/core/accounts/account/:agentID/nonce
Get the current nonce of an account
Request
Path Parameters
agentID stringrequired
AgentID (Hex Address for L1 accounts | 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": "error",
"missingPermission": "missingPermission"
}
Loading...