query(view_state) - NEAR Protocol
Example code for the query(view_state) json-rpc method. Сomplete guide on how to use query(view_state) json-rpc in GetBlock.io Web3 documentation.
Supported Networks
Parameters
Request
https://go.getblock.io/<ACCESS_TOKEN>curl -X POST https://go.getblock.io/<ACCESS_TOKEN>\
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0",
"method": "query",
"params": {
"request_type": "view_state",
"finality": "final",
"account_id": "kiln.poolv1.near",
"prefix_base64": ""
},
"id": "getblock.io"}
'Response Example
Response Parameters Definition
Use Cases
Code Example
Error Handling
Integration with Web3
Last updated
Was this helpful?