query(view_account_basic) - NEAR Protocol
Example code for the query(view_account_basic) json-rpc method. Сomplete guide on how to use query(view_account_basic) json-rpc in GetBlock.io Web3 documentation.
Parameters
request_type
- string
request type
finality
- string
You should pick either that or block_id.
Can be either "optimistic" or "final"
block_id
- int or string
You should pick either that or finality.
The block_id param can take either the block number OR the block hash as an argument.
account_id
- string
account id
Request
Response
Last updated