# wallet_abortAction

Aborts a pending (nosend or unsigned) transaction, releasing consumed inputs back to spendable state.

## Result

The wallet's abortAction result as JSON text.

## Permissions

Uses the pending action's wallet and caller binding; wallet permission policy applies.

## Definition 1 (full)

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

Aborts a pending (nosend or unsigned) transaction, releasing consumed inputs back to spendable state.

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| reference | string | Yes | Base64 reference of the transaction to abort |  |

Nested requirements apply when their parent is supplied.

### Input schema

```json
{
  "type": "object",
  "properties": {
    "reference": {
      "type": "string",
      "description": "Base64 reference of the transaction to abort"
    }
  },
  "required": [
    "reference"
  ],
  "$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.

Aborts a pending (nosend or unsigned) transaction, releasing consumed inputs back to spendable state.

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| reference | string | Yes | Base64 reference of the transaction to abort |  |
| 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": {
    "reference": {
      "type": "string",
      "description": "Base64 reference of the transaction to abort"
    },
    "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": [
    "reference"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
```

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