Skip to content

eth_sign ​

served · same as reth

Signs data with a key of the node. Cinder holds no keys, so it always gives an error.

When to use ​

Sign in your wallet or library, not in the node.

Example ​

bash
curl -s -X POST -H 'Content-Type: application/json' \
  --data '{"jsonrpc": "2.0", "id": 1, "method": "eth_sign", "params": ["0xc917c3fa468f2c4b9c84c72caa46420eb9825249", "0xdeadbeef"]}' \
  http://127.0.0.1:8547
json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_sign",
  "params": [
    "0xc917c3fa468f2c4b9c84c72caa46420eb9825249",
    "0xdeadbeef"
  ]
}

Response ​

Live mainnet, block 26193069, 2026-10-14. Checked against reth 2.7: equal.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "error": {
    "code": -32602,
    "message": "unknown account"
  }
}

Full response

Parameters ​

NameTypeRequiredMeaning
addressaddress (20 bytes, hex)yesThe account to sign with.
messagehex datayesThe data to sign.

Returns ​

Always the error -32602 unknown account.

Errors ​

CodeMessageWhen
-32602unknown accountAlways.

Compared with reth ​

The live example above gives the same answer on Cinder and on reth 2.7.

eth_accounts.

Schema (OpenRPC) ​

The official specification: eth_sign in ethereum/execution-apis.

Parameter Address: string
json
{
  "pattern": "^0x[0-9a-fA-F]{40}$",
  "title": "hex encoded address",
  "type": "string"
}
Parameter Message: string
json
{
  "pattern": "^0x[0-9a-f]*$",
  "title": "hex encoded bytes",
  "type": "string"
}
Result: string
json
{
  "pattern": "^0x[0-9a-f]{130}$",
  "title": "65 hex encoded bytes",
  "type": "string"
}