verifymessage
Verify a signed message
Example Request and Result for verifymessage method
In this section, we provide an illustrative example of a request made to retrieve details contents using the verifymessage
method. Additionally, we present the resulting response containing information about the verifying a signed message.
Parameters
Field | Type | Description |
---|---|---|
address* | string | The bitcoin address to use for the signature. |
signature* | string | The signature provided by the signer in base 64 encoding. |
message* | string | The message that was signed. |
The example in this section uses a non-existing project id.
Make sure you replace it with your Bitcoin mainnet or Bitcoin Testnet endpoint when issuing the API calls.
Don't have a project id? Here's a straightforward guide on how to obtain one!
Verify a signed message
POST
https://bitcoin-mainnet.blastapi.io/<project-id>
Request Body
Name | Type | Description |
---|---|---|
jsonrpc* | string | 1.0 |
id* | string | bwarelabs |
method* | string | verifymessage |
params* | string | ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX", "signature", "my message"] |
Curl Request example
Last updated