View
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Calls a Move view function. The function must be declared with the #[view] attribute.
View functions (#[view]) are enabled on Mainnet from protocol version 36 (no earlier than epoch 507, September 24, 2026).
A transaction larger than the protocol limit max_tx_size_bytes is now rejected with a user error, the same limit that applies to submitted transactions.
Body
application/json
JSON-RPC request for iota_view.
Structured JSON-RPC request information.
jsonrpcstring2.0requiredJSON-RPC protocol version.
idintegerrequiredClient-defined identifier used to match the response to the request.
methodstringiota_viewrequiredIOTA JSON-RPC method name.
paramsArray<any>requiredOrdered positional parameters supplied to the method.
Response
200OK
Successful JSON-RPC response returned by the node.