Last updated on January 1, 1970

1 min read

Method signmessage undefined ()
connect with JSON-RPC protocol

signmessage

info-circle-fill

Sign messages, returns the signature

Parameters

address - string

Dogecoin address used to sign a message

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": "signmessage",
"params": ["DLGbK6mCjBT67r8wjJqCg8hkFiBYV5JquH", "mymessage"],
"id": "getblock.io"}'

Response

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

Start Building with GetBlock RPCs for Free