View Access Key List
view_access_key_list request type
Fetch every access key attached to an account, each with its permissions and nonce.
view_access_key_list request type
Fetch every access key attached to an account, each with its permissions and nonce.
Responses from the selected endpoint appear here after you run a request.
Live response output will appear here after you run a request.
This operation accepts a JSON-RPC body over POST to /.
Required request inputs: yes
{
"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 *stringNEAR account ID
request_type *stringview_access_key_listfinality *stringBlock finality
finalnear-finaloptimisticSuccessful response
jsonrpc *string2.0id *one ofresultobjectLists access keys
keys *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).
errorobjectcodeintegermessagestringdataobject