Skip to main content

query-{view_access_key_list} RPC Method

Queries all the access keys for a given account.

Updated on
Oct 04, 2023

Parameters

request_type
string

The type of request i.e view_access_key_list

finality
string

The assurance that the transaction cannot be altered, reversed, or canceled after they are completed. For finality=final, it means that it has been validated on at least 66% of the nodes in the network and for finality=optimistic, it uses the latest block recorded on the node that responded to the query passed

block_id
int/string

The block id, it could be either block number or block hash

account_id
string

The id of the account associcated with the transaction

Returns

keys
array

The keys associated with the sender

public_key
string

The public key of the signer

access_key
object

The access key for authenticating the account

nonce
integer

The number of transactions made by the sender prior to this one encoded as hexadecimal

permission
string | object

The type of permission

FunctionCall
object

An action to be performed on the receiver_id

allowance
string | null

The amount allowed to spend on gas

receiver_id
string

The account id of the transaction receiver

method_names
array

The method names corresponding to the actions

block_height
integer

The height of the block this transactions was associated with

block_hash
string

The hash of the block this transaction was associated with

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free