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

/

Ethereum Classic (ETC)

etc
Ethereum Classic (ETC)

Method: POST perm_addAccountsToAllowlist

dropdown

方法 RPC perm_addAccountsToAllowlist 例如 Ethereum Classic (ETC)

POST perm_addAccountsToAllowlist

Method not allowed

将帐户(参与者)添加到帐户权限列表中。

Parameters

list of strings - 没有任何

帐户地址列表。

Request

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


Response

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