---
title: "Get a list of unspent boxes. Set minConfirmations to -1 to have mempool boxes considered."
method: GET
path: "/wallet/boxes/unspent"
tags: ["wallet"]
---

# Get a list of unspent boxes. Set minConfirmations to -1 to have mempool boxes considered.

`GET /wallet/boxes/unspent`

## Response `200`

A list of unspent boxes

- WalletBox[]
  - `box` ErgoTransactionOutput, required
    - `boxId` string, base16 — Base16-encoded transaction box id bytes. Should be 32 bytes long
    - `value` integer, required — Amount of Ergo token
    - `ergoTree` string, base16, required — Base16-encoded ergo tree bytes
    - `creationHeight` integer, required — Height the output was created at
    - `assets` Asset[] — Assets list in the transaction
      - `tokenId` string, base16, required — Base16-encoded 32 byte digest
      - `amount` integer, required — Amount of the token
    - `additionalRegisters` Registers, required — Ergo box registers
    - `transactionId` string, base16 — Base16-encoded transaction id bytes
    - `index` integer — Index in the transaction outputs
  - `confirmationsNum` integer, nullable, required — Number of confirmations, if the box is included into the blockchain
  - `address` string, required — Encoded Ergo Address
  - `creationTransaction` string, base16, required — Base16-encoded 32 byte modifier id
  - `spendingTransaction` string, base16, required — Base16-encoded 32 byte modifier id
  - `spendingHeight` integer, nullable, required — The height the box was spent at
  - `inclusionHeight` integer, required — The height the transaction containing the box was included in a block at
  - `onchain` boolean, required — A flag signalling whether the box is created on main chain
  - `spent` boolean, required — A flag signalling whether the box was spent
  - `creationOutIndex` integer, required — An index of a box in the creating transaction
  - `scans` integer[], required — Scan identifiers the box relates to

## Other responses

- `default` — Error

---

[API](https://skmtc.net/ergoplatform/apis/ergo-node-api.md) · [All operations](https://skmtc.net/ergoplatform/apis/ergo-node-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ergoplatform/ergo-node-api/versions/ef97e678f020/schema)
