---
title: "Get output box from unconfirmed transactions in pool by tokenId"
method: GET
path: "/transactions/unconfirmed/outputs/byTokenId/{tokenId}"
tags: ["outputs"]
---

# Get output box from unconfirmed transactions in pool by tokenId

`GET /transactions/unconfirmed/outputs/byTokenId/{tokenId}`

## Response `200`

Unspent Ergo Boxes that are to be created by unconfirmed tx and contain given token

- 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

- `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/f4a571a6f66b/schema)
