---
title: "Get nonce state"
method: GET
path: "/v1/nonce-state/{account}"
tags: ["Authentication"]
---

# Get nonce state

`GET /v1/nonce-state/{account}`

## Request

- Base URL: `https://api.testnet.rise.trade`
- URL: `https://api.testnet.rise.trade/v1/nonce-state/{account}`
- Auth: none required
- TypeScript: <https://skmtc.dev/rise/apis/risex-rest-api/docs/v1/nonce-state/:account/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns the current nonce anchor and next free bitmap index for an account. Used by bots to resume nonce state after restart.

## Path parameters

- `account` string, required

## Response `200`

A successful response.

- ApiGetNonceStateResponse: Response containing current nonce anchor and bitmap index. When current_bitmap_index == 208, all slots in this anchor are used — advance to nonce_anchor+1 with bitmap_index=0.
  - `nonce_anchor` string, uint64: Current nonce anchor epoch
  - `current_bitmap_index` integer: Current bitmap index (0-207), or 208 if anchor is full
  - `bitmap` string: Full nonce bitmap as 0x-prefixed hex (uint256). bit=1 consumed, bit=0 available.

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/rise/apis/risex-rest-api.md) - [All operations](https://skmtc.dev/rise/apis/risex-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rise/apis/risex-rest-api/revisions/98eabcd6a6ad?raw)
