verifymessage - Dogecoin

Example code for the verifymessage json-rpc method. Сomplete guide on how to use verifymessage json-rpc in GetBlock.io Web3 documentation.

Parameters

address - string

Dogecoin address used to sign a message.

signature - string

The signature.

message - string

The message to sign.

Request

curl --location --request POST 'https://doge.getblock.io/mainnet/' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "verifymessage",
"params": ["DLGbK6mCjBT67r8wjJqCg8hkFiBYV5JquH", "mysignature", "mymessage"],
"id": "getblock.io"}'

Response

{
    "error": null,
    "id": "getblock.io",
    "result": true
}

Last updated

© 2019-2024 GetBlock LLC. All rights reserved ID: 21835790. Address: Belgrade, Serbia.