Skip to main content

Evaluate Program View (POST)

POST 

/program/:programId/view/:viewName

Evaluates a named, read-only "view" on a deployed program. Identical to the GET variant, but takes the ordered inputs as a JSON array body instead of repeated query parameters. Proxies directly to the network node; the response is returned as-is and is not validated or transformed by this API, so its exact shape isn't guaranteed beyond what's documented here.

Request​

Responses​

The view's result. May be a literal, a mapping, or a storage value depending on the view — shape is not fixed. Proxies directly to the network node; the response is returned as-is and is not validated or transformed by this API, so its exact shape isn't guaranteed beyond what's documented here.