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

Method: POST personal_lockAccount

dropdown

方法 GETH RPC personal_lockAccount 例如 Ethereum (ETH)

POST personal_lockAccount

Method not allowed

从内存中删除带有给定地址的私钥。 该帐户不再可用于发送交易。

Parameters

address - 细绳

没有任何

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


Response

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