---
title: "Lists the spendable outputs kept within a specific basket"
method: POST
path: "/listOutputs"
tags: ["HTTPWalletJSON"]
---

# Lists the spendable outputs kept within a specific basket

`POST /listOutputs`

## Request body

- ListOutputsArgs
  - `basket` string
  - `tags` string[]
  - `tagQueryMode` 'all' | 'any'
  - `include` 'locking scripts' | 'entire transactions'
  - `includeCustomInstructions` boolean
  - `includeTags` boolean
  - `includeLabels` boolean
  - `limit` number
  - `offset` number
  - `seekPermission` boolean

## Response `200`

The list of outputs

- ListOutputsResult
  - `totalOutputs` number
  - `BEEF` number[]
  - `outputs` WalletOutput[]
    - `satoshis` number
    - `lockingScript` string
    - `spendable` boolean
    - `customInstructions` string
    - `tags` string[]
    - `outpoint` string
    - `labels` string[]

## Other responses

- `400` — Invalid input
- `500` — Internal server error

---

[API](https://skmtc.dev/bsv-blockchain/apis/wallet-json-api.md) · [All operations](https://skmtc.dev/bsv-blockchain/apis/wallet-json-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bsv-blockchain/wallet-json-api/revisions/4b04a6edb128/schema)
