⚡ Dedicated Nodes for ETH, BSC, MATIC & other Blockchains at a Reduced Price!
Near Protocol (NEAR)
Method: POST query(view_state)
Returns the state (key value pairs) of a contract based on the key prefix (base64 encoded). Pass an empty string for prefix_base64 if you would like to return the entire state. Please note that the returned state will be base64 encoded as well.
request_type - string
type of request
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
prefix_base64 - string