---
title: "Read the sandbox treasury that funds emulated credits"
method: GET
path: "/sandbox/treasury"
tags: ["sandbox"]
---

# Read the sandbox treasury that funds emulated credits

`GET /sandbox/treasury`

## Request

- The document declares no server URL.
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/hevn-inc/apis/hevn-api/docs/sandbox/treasury/get.ts> (a function with typed inputs; its response is checked against the schema)

## Headers

- `X-Hevn-Account` string, nullable: The client account to act for, as a `cl_…` id. Omit it to act as yourself.

## Response `200`

Successful Response

- SandboxTreasuryResponse
  - `chainId` integer, required: Numeric network identifier used by the sandbox treasury.
  - `address` string, required: Sandbox treasury address.
  - `gasBalance` string, required: Native-asset balance available for transaction fees.
  - `maxCredit` string, required: Maximum test amount allowed in one credit.
  - `balances` SandboxTokenBalanceResponse[], required: Settlement assets available to the emulator.
    - `token` 'USDC' | 'EURC' | 'RD' | 'USDC_ARB', required
    - `tokenAddress` string, required: Sandbox token contract address.
    - `balance` string, required: Amount available for emulated credits.

## Other responses

- `422`: Request validation failed

## Changes

- **2026-11-12** `299a3aa6f521`: 1 warning, 2 info
  - added the new `verification_not_applicable` enum value to the `error/code` response property for the response status `422`
  - removed the `phone_required` enum value from the `error/code` response property for the response status `422`
  - removed the `rail_requirements_unmet` enum value from the `error/code` response property for the response status `422`
- **2026-10-23** `a02795de2d2b`: 11 warning, 5 info
  - deleted the `header` request parameter `x-api-key`
  - added the new `RD` enum value to the `balances/items/token` response property for the response status `200`
  - added the new `USDC_ARB` enum value to the `balances/items/token` response property for the response status `200`
  - added the new `client_already_linked` enum value to the `error/code` response property for the response status `422`
  - …12 more
- **2026-10-20** `19eb00e9f258`: 1 info
  - removed the `phone_in_use` enum value from the `error/code` response property for the response status `422`
- **2026-10-20** `bd6c9d69540e`: 1 warning
  - added the new `phone_in_use` enum value to the `error/code` response property for the response status `422`
- **2026-10-20** `19eb00e9f258`: 1 info
  - removed the `document_fields_missing` enum value from the `error/code` response property for the response status `422`

[Operation history](https://skmtc.dev/hevn-inc/apis/hevn-api/changes/sandbox/treasury/get.md)

---

[API](https://skmtc.dev/hevn-inc/apis/hevn-api.md) - [All operations](https://skmtc.dev/hevn-inc/apis/hevn-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hevn-inc/apis/hevn-api/revisions/299a3aa6f521?raw)
