Last updated 24 days ago
DATA - string
DATA
address.
message to sign.
curl --location --request POST 'https://go.getblock.io/YOUR-ACCESS-TOKEN' \ --header 'Content-Type: application/json' \ --data-raw '{"jsonrpc": "2.0", "method": "eth_sign", "params": ["0x9b956e3d318625be2686ae7268d81777c462d41f", "0xdeadbeaf"], "id": "getblock.io"}'
{ "error": { "code": -32000, "message": "unknown account" }, "id": "getblock.io", "jsonrpc": "2.0" }
Example code for the eth_sign json-rpc method. Сomplete guide on how to use eth_sign json-rpc in GetBlock.io Web3 documentation.