---
title: "Get boxes for ids provided, from UTXO or the mempool."
method: POST
path: "/utxo/withPool/byIds"
tags: ["utxo"]
---

# Get boxes for ids provided, from UTXO or the mempool.

`POST /utxo/withPool/byIds`

## Request body

- string[]

## 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` — No any box exists for every id provided
- `default` — Error

## Changes

- **2023-10-17** `2b9e28478bd4` — 1 info
  - endpoint added
- **2023-10-04** `c08c8756d712` — 1 breaking
  - api path removed without deprecation
- **2023-10-04** `a1e48d573664` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/ergoplatform/apis/ergo-node-api/changes/utxo/withPool/byIds/post.md)

---

[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)
