---
title: "Get box contents for a box by a unique identifier."
method: GET
path: "/utxo/byId/{boxId}"
tags: ["utxo"]
---

# Get box contents for a box by a unique identifier.

`GET /utxo/byId/{boxId}`

## Path parameters

- `boxId` string, required

## Response `200`

Box object

- ErgoTransactionOutput
  - `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

## Other responses

- `404` — Box with this id doesn't exist
- `default` — Error

---

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