POSTverifymessage

Bitcoin Mainnethttps://bitcoin-mainnet.nodit.io/

Verifies a message signed with a Bitcoin address and returns the result as a boolean.

Request Body
idintegerrequired
jsonrpcstringrequired
methodstringrequired
paramsoneOf[]required

It contains following parameters in order:

  1. address: The Bitcoin address used for the signature, as a string. (required)
  2. signature: The signature in base 64 encoding, as a string. (required)
  3. message: The message that was signed, as a string. (required)
params[0]string

The Bitcoin address used for the signature.

params[1]string

The Bitcoin address used for the signature.

params[2]string

The Bitcoin address used for the signature.

Responses

No response body.

X-API-KEY
RequestCU10
cURL
curl -X POST "https://bitcoin-mainnet.nodit.io/" \
  -H "X-API-KEY: {YOUR_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "verifymessage",
    "params": [
      "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX",
      "H9L5yLFjti0QTHhPyFrZCT1V/MMnBtXKmoiKDZ78NDBjERki6ZTQZdSMCtkgoNmp17By9ItJr8o7ChX0XxY91nk=",
      "my message"
    ]
  }'
Response
Example ยท 200
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": true
}