← BSV MCPInstall
Wallet

wallet_proveCertificate

Proves select fields of a certificate to a verifier.

Read as Markdown

Result

The BRC-100 proveCertificate 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 catalog · Legacy local wallet; Legacy local identity; External BRC-100 wallet

FieldType / requiredDescription
certificateJSONstring
Required
JSON object of the certificate to prove
fieldsToRevealJSONstring
Required
JSON array of field names to reveal
verifierstring
Required
Verifier public key hex
privilegedboolean
Optional
See schema for details.
privilegedReasonstring
Optional
See schema for details.

Nested fields are required only when their parent object or array item is supplied.

Full input schema
{
  "type": "object",
  "properties": {
    "certificateJSON": {
      "type": "string",
      "description": "JSON object of the certificate to prove"
    },
    "fieldsToRevealJSON": {
      "type": "string",
      "description": "JSON array of field names to reveal"
    },
    "verifier": {
      "type": "string",
      "description": "Verifier public key hex"
    },
    "privileged": {
      "type": "boolean"
    },
    "privilegedReason": {
      "type": "string"
    }
  },
  "required": [
    "certificateJSON",
    "fieldsToRevealJSON",
    "verifier"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
Definition 2

full catalog · Local Vault · broadcasting disabled; Local Vault · all roles; Local Vault · payment role only; Local Vault + sponsor

FieldType / requiredDescription
certificateJSONstring
Required
JSON object of the certificate to prove
fieldsToRevealJSONstring
Required
JSON array of field names to reveal
verifierstring
Required
Verifier public key hex
privilegedboolean
Optional
See schema for details.
privilegedReasonstring
Optional
See schema for details.
walletRole"payments" | "identity" | "ordinals" | "encryption"
Optional
Select the configured root key for this BRC-100 call. Defaults to the role for the method; action continuations retain their original role.

Nested fields are required only when their parent object or array item is supplied.

Full input schema
{
  "type": "object",
  "properties": {
    "certificateJSON": {
      "type": "string",
      "description": "JSON object of the certificate to prove"
    },
    "fieldsToRevealJSON": {
      "type": "string",
      "description": "JSON array of field names to reveal"
    },
    "verifier": {
      "type": "string",
      "description": "Verifier public key hex"
    },
    "privileged": {
      "type": "boolean"
    },
    "privilegedReason": {
      "type": "string"
    },
    "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": [
    "certificateJSON",
    "fieldsToRevealJSON",
    "verifier"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}