⚡ We welcome businesses to test our enterprise-grade service

Method: POST personal_ecRecover

dropdown

方法 GETH RPC personal_ecRecover 例如 Ethereum (ETH)

POST personal_ecRecover

Method not allowed

EcRecover返回与用于计算个人_sign中签名的私钥关联的地址。

Parameters

message - 细绳

没有任何

signature - 细绳

没有任何

Request

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


Response

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