v1

latestOpenAPI 3.1.02026-07-17283353.4 KB
HTTPWalletJSON

Lists the spendable outputs kept within a specific basket

post/listOutputs

Request body

basketstring
tagsstring[]
tagQueryMode'all' | 'any'
include'locking scripts' | 'entire transactions'
includeCustomInstructionsboolean
includeTagsboolean
includeLabelsboolean
limitnumber
offsetnumber
seekPermissionboolean

Example request

{
  "basket": "todo token",
  "tags": [
    "todo create",
    "todo burn"
  ],
  "tagQueryMode": "any",
  "limit": 10
}

Response

The list of outputs

totalOutputsnumber
BEEFnumber[]

Example response

{
  "totalOutputs": 1,
  "outputs": [
    {
      "satoshis": 1000,
      "lockingScript": "76a914dd8b1abde0304820ace0adf1478a3ef2291a833788ac",
      "spendable": true,
      "customInstructions": "12,34,023398754239872342354534",
      "tags": [
        "todo create"
      ],
      "outpoint": "d834139537caeb6abb876e1adcf00064fa7a775cf324a2c3bd8c13a8ec8c888f.34",
      "labels": [
        "productivity"
      ]
    }
  ]
}