View contract state
Last updated
Was this helpful?
Last updated
Was this helpful?
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.
method: query
params:
request_type
: view_state
OR
account_id
: "guest-book.testnet"
,
prefix_base64
: ""