Parameters
- request_typestring
The type of request i.e view_access_key
- finalitystring
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_idint/string
The block id, it could be either block number or block hash
- account_idstring
The id of the account associcated with the transaction
- public_keyint/string
The public key of the signer
Returns
- nonceinteger
The number of transactions made by the sender prior to this one encoded as hexadecimal
- permissionstring | object
The type of permission i.e FunctionCall. If permission of the key is FunctionCall, it will return additional information such as the allowance, receiver_id, and method_names.
- FunctionCallobject
An action to be performed on the receiver_id.
- allowancestring | null
The amount allowed to spend on gas
- receiver_idstring
The account id of the transaction receiver
- method_namesarray
The method names corresponding to the actions
- block_heightinteger
The height of the block this transactions was associated with
- block_hashstring
The hash of the block this transaction was associated with