# wallet_signBsm

Sign a message using BSM (Bitcoin Signed Message) format

## Result

An MCP result containing the operation outcome as text, with structured content where supplied. Check isError before using it; an output schema is shown when registered.

## Permissions

This operation can change wallet, account or service state. A connected wallet applies its own permissions. Guarded broadcasts also require broadcasting to be enabled; service authorization is separate from wallet approval.

## Definition 1 (full)

Registered in: Legacy local wallet; Legacy local identity; Local Vault · broadcasting disabled; Local Vault · all roles; External BRC-100 wallet; Local Vault + sponsor.

Sign a message using BSM (Bitcoin Signed Message) format

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| message | string | Yes | The message to sign |  |
| encoding | "utf8" \| "hex" \| "base64" | No | Message encoding format |  |

Nested requirements apply when their parent is supplied.

### Input schema

```json
{
  "type": "object",
  "properties": {
    "message": {
      "type": "string",
      "description": "The message to sign"
    },
    "encoding": {
      "description": "Message encoding format",
      "type": "string",
      "enum": [
        "utf8",
        "hex",
        "base64"
      ]
    }
  },
  "required": [
    "message"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
```

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