Home

verifymessage

POST
https://btc-testnet4.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Verify a message signature. Returns true if the signature is valid and corresponds to the provided address and message.

Body

application/json

Verify a message signature. Returns true if the signature is valid and corresponds to the provided address and message.

Request payload containing the documented method parameters and client request identifier.

jsonrpcstringrequired

JSON-RPC protocol version.

idstringrequired

Client-provided request identifier echoed in the response.

methodstringverifymessagerequired

JSON-RPC method name.

paramsArray<string>required

Parameters:

  1. address (string, required): The Bitcoin address to verify.
  2. signature (string, required): The base64-encoded signature.
  3. message (string, required): The original signed message.

Response

200OK

Signature verification result

401Unauthorized

Unauthorized: API key is present but rejected by the NOWNodes gateway.

405Method Not Allowed

Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.

422Unprocessable Entity

Missing API key. The NOWNodes gateway returns plain text for this error.

500Internal Server Error

Internal Server Error