Skip to main content

Evaluate Program View (GET)

GET 

/program/:programId/view/:viewName

Evaluates a named, read-only "view" on a deployed program with the given ordered inputs. Repeat the input query parameter to pass multiple inputs, preserving order; omit it for a zero-input view. 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.