Skip to content
Alchemy Logo

verifymessage

POST
/{apiKey}

Verifies a message signature using the corresponding Bitcoin address. Returns true if the signature is valid and matches the given address.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

stringformat: "^(bc1|[13])[a-zA-HJ-NP-Z0-9]{25,39}$"required

The Bitcoin address to use for the signature.

stringrequired

The base64-encoded signature provided by the signer.

stringrequired

The message that was signed.

Responses

200

Whether the signature is valid for the message and address.

Was this page helpful?