Список ключей доступа
view_access_key_list — тип запроса.
Получите все ключи доступа аккаунта — каждый с правами и nonce.
view_access_key_list — тип запроса.
Получите все ключи доступа аккаунта — каждый с правами и nonce.
Ответы от выбранного эндпоинта появляются здесь после запуска запроса.
Здесь появится вывод живого ответа после запуска запроса.
Эта операция принимает JSON-RPC тело через POST на /.
Обязательные входные данные запроса: да
{
"jsonrpc": "2.0",
"id": "fastnear",
"method": "query",
"params": {
"account_id": "root.near",
"request_type": "view_access_key_list",
"finality": "final"
}
}jsonrpc *string2.0id *stringmethod *stringqueryparams *objectaccount_id *stringID аккаунта NEAR
after_keystringможет быть пустымExclusive pagination cursor — the last_key handle returned by the previous page; omit to start from the first key.
limitintegerможет быть пустымMaximum access keys per response (≥ 1). Omit for no client-set bound; the node caps it at its view_access_keys_limit.
request_type *stringview_access_key_listфинальность *stringФинальность блока
finalnear-finaloptimisticСписок ключей доступа аккаунта
jsonrpc *string2.0id *один изresultobjectСписок ключей доступа
ключи *arrayitemsobjectDescribes information about an access key including its on-trie
identifier. For ed25519/secp256k1 access keys the public_key field
is the full public key (string form unchanged from before); for
ML-DSA-65 access keys it is a ml-dsa-65-hash:... SHA3-256 digest
(the full pubkey is not stored on-chain).
last_keystringможет быть пустымPagination cursor — the handle of the last key returned when the listing was truncated. Pass it as after_key to fetch the next page; absent on the last page.
errorobjectкодintegermessagestringdataobject