# wallet_listOutputs

Lists spendable outputs in a basket, optionally filtered by tags.

## Result

The BRC-100 listOutputs result, encoded as JSON text. Wallet failures return an error result.

## Permissions

Forwarded to the connected wallet under the configured app origin. Its protocol, certificate or basket permission checks apply to the requested operation.

Use walletRole to choose an assigned wallet. Otherwise the configured role is used. A disabled role cannot borrow another key.

## Definition 1 (full)

Registered in: Legacy local wallet; Legacy local identity; External BRC-100 wallet.

Lists spendable outputs in a basket, optionally filtered by tags.

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| basket | string | Yes | Basket name (e.g. "default") |  |
| tagsJSON | string | No | JSON array of tag strings |  |
| tagQueryMode | "all" \| "any" | No |  |  |
| include | "locking scripts" \| "entire transactions" | No |  |  |
| includeCustomInstructions | boolean | No |  | default: false |
| includeTags | boolean | No |  | default: false |
| includeLabels | boolean | No |  | default: false |
| limit | number | No |  | default: 25 |
| offset | number | No |  | default: 0 |
| seekPermission | boolean | No |  |  |

Nested requirements apply when their parent is supplied.

### Input schema

```json
{
  "type": "object",
  "properties": {
    "basket": {
      "type": "string",
      "description": "Basket name (e.g. \"default\")"
    },
    "tagsJSON": {
      "description": "JSON array of tag strings",
      "type": "string"
    },
    "tagQueryMode": {
      "type": "string",
      "enum": [
        "all",
        "any"
      ]
    },
    "include": {
      "type": "string",
      "enum": [
        "locking scripts",
        "entire transactions"
      ]
    },
    "includeCustomInstructions": {
      "default": false,
      "type": "boolean"
    },
    "includeTags": {
      "default": false,
      "type": "boolean"
    },
    "includeLabels": {
      "default": false,
      "type": "boolean"
    },
    "limit": {
      "default": 25,
      "type": "number"
    },
    "offset": {
      "default": 0,
      "type": "number"
    },
    "seekPermission": {
      "type": "boolean"
    }
  },
  "required": [
    "basket"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
```

## Definition 2 (full)

Registered in: Local Vault · broadcasting disabled; Local Vault · all roles; Local Vault · payment role only; Local Vault + sponsor.

Lists spendable outputs in a basket, optionally filtered by tags.

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| basket | string | Yes | Basket name (e.g. "default") |  |
| tagsJSON | string | No | JSON array of tag strings |  |
| tagQueryMode | "all" \| "any" | No |  |  |
| include | "locking scripts" \| "entire transactions" | No |  |  |
| includeCustomInstructions | boolean | No |  | default: false |
| includeTags | boolean | No |  | default: false |
| includeLabels | boolean | No |  | default: false |
| limit | number | No |  | default: 25 |
| offset | number | No |  | default: 0 |
| seekPermission | boolean | No |  |  |
| walletRole | "payments" \| "identity" \| "ordinals" \| "encryption" | No | Select the configured root key for this BRC-100 call. Defaults to the role for the method; action continuations retain their original role. |  |

Nested requirements apply when their parent is supplied.

### Input schema

```json
{
  "type": "object",
  "properties": {
    "basket": {
      "type": "string",
      "description": "Basket name (e.g. \"default\")"
    },
    "tagsJSON": {
      "description": "JSON array of tag strings",
      "type": "string"
    },
    "tagQueryMode": {
      "type": "string",
      "enum": [
        "all",
        "any"
      ]
    },
    "include": {
      "type": "string",
      "enum": [
        "locking scripts",
        "entire transactions"
      ]
    },
    "includeCustomInstructions": {
      "default": false,
      "type": "boolean"
    },
    "includeTags": {
      "default": false,
      "type": "boolean"
    },
    "includeLabels": {
      "default": false,
      "type": "boolean"
    },
    "limit": {
      "default": 25,
      "type": "number"
    },
    "offset": {
      "default": 0,
      "type": "number"
    },
    "seekPermission": {
      "type": "boolean"
    },
    "walletRole": {
      "description": "Select the configured root key for this BRC-100 call. Defaults to the role for the method; action continuations retain their original role.",
      "type": "string",
      "enum": [
        "payments",
        "identity",
        "ordinals",
        "encryption"
      ]
    }
  },
  "required": [
    "basket"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
```

[All tools](https://bsvmcp.com/docs/tools)