Parameters
- request_typestring
The type of request i.e view_account
- 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. You can only use one parameter, either finality or block_id
- block_idinteger/string
The block id which could be either a block number or block hash. You can only use one parameter, either finality or block_id
- account_idstring
The id of the account associcated with the transaction
Returns
- amountstring
The amount of asset being transferred
- lockedstring
The amount of bytes that succeeded locking
- code_hashstring
It states whether the account has a contract deployed to it or not. If the code_hash value is “1111111…", it means that no contract is deployed to that specific account
- storage_usageinteger
The amount of storage used by the contract
- storage_paid_atinteger
The amount of storage paid
- block_heightinteger
The height of the block this transactions was associated with
- block_hashstring
The hash of the block this transaction was associated with