v7

latestOpenAPI 3.0.0raw.githubusercontent.com2026-07-2138342633.5 KB

Returns the state (key-value pairs) of a contract based on the key prefix.

post/EXPERIMENTAL_view_state

Request body

idstring

JSON-RPC request id. Auto-populated; can be any string.

jsonrpc'2.0'

JSON-RPC protocol version. Always 2.0.

method'EXPERIMENTAL_view_state' required

Response

OR