⚡ We welcome businesses to test our enterprise-grade service

/

Near Protocol (NEAR)

near
Near Protocol (NEAR)

Method: POST query(view_access_key_list)

dropdown

方法 RPC query(view_access_key_list) 例如 Near Protocol (NEAR)

POST query(view_access_key_list)

Method not allowed

返回给定帐户的所有访问键。

Parameters

request_type - 细绳

请求类型

finality - 细绳

您应该选择该块或block_id。

block_id - int或字符串

您应该选择该问题或最终性。

block_id param可以将块号或块哈希作为参数。

account_id - 细绳

帐户的ID。

Request

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


Response

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