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

Method: POST personal_listAccounts

dropdown

方法 GETH RPC personal_listAccounts 例如 Ethereum (ETH)

POST personal_listAccounts

Method not allowed

返回密钥存储中所有键的所有以太坊帐户地址。

Parameters

-

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


Response

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