📝 Share Your Feedback on Twitter and Claim 1M Free GetBlock Requests

dgb
DigiByte (DGB)

Method: POST signmessage

dropdown

方法 RPC signmessage 例如 DigiByte (DGB)

POST signmessage

Method not allowed

在地址的私钥上签署一条消息,需要在钱包加密的情况下用钱包通话设置钱包密码。

Parameters

address - 字符串,需要

用于私钥的比特币地址。

message - 字符串,需要

创建签名的消息。

Request

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


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}