# Verifymessage

## verifymessage

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

```json
{"openapi":"3.0.0","info":{"title":"BlockBook RES-API","version":"1.0.0"},"servers":[{"url":"https://btc-testnet.nownodes.io"}],"security":[{"api-keyAuth":[]}],"components":{"securitySchemes":{"api-keyAuth":{"type":"apiKey","in":"header","name":"api-key"}},"schemas":{"VerifyMessageRequest":{"type":"object","required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"type":"string"},"id":{"type":"string"},"method":{"type":"string","enum":["verifymessage"]},"params":{"type":"array","minItems":3,"maxItems":3,"description":"Parameters:\n1. `address` (string, required): The Bitcoin address to verify.\n2. `signature` (string, required): The base64-encoded signature.\n3. `message` (string, required): The original signed message.\n","items":{"type":"string"}}}},"VerifyMessageResponse":{"type":"object","properties":{"result":{"type":"boolean","description":"True if the signature is valid and from the specified address"},"error":{"type":"object","nullable":true},"id":{"type":"string","description":"Same ID as in the request"}}}}},"paths":{"/":{"post":{"tags":["verifymessage"],"summary":"verifymessage","description":"Verify a message signature. Returns true if the signature is valid and corresponds to the provided address and message.\n","operationId":"verifymessage","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyMessageRequest"}}}},"responses":{"200":{"description":"Signature verification result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyMessageResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"string"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"string"}}}}}}}}}
```
