# bap_attest

Publish a BAP attestation signed by the selected identity wallet's current derived signing key.

## 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: Local Vault · broadcasting disabled; Local Vault · all roles; Local Vault + sponsor.

Publish a BAP attestation signed by the selected identity wallet's current derived signing key.

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| attestationHash | string | Yes |  | pattern: "^[0-9a-f]{64}$" |
| counter | string | No |  | maxLength: 20; pattern: "^\\d+$" |

Nested requirements apply when their parent is supplied.

### Input schema

```json
{
  "type": "object",
  "properties": {
    "attestationHash": {
      "type": "string",
      "pattern": "^[0-9a-f]{64}$"
    },
    "counter": {
      "type": "string",
      "maxLength": 20,
      "pattern": "^\\d+$"
    }
  },
  "required": [
    "attestationHash"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
```

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