view_contract_method
Call a read-only method on NEAR smart contracts without gas. Retrieve on-chain data by providing contract ID, method name, and optional arguments.
Instructions
Call a view (read-only) method on a NEAR smart contract. No gas required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Arguments to pass (JSON object) | |
| contract_id | Yes | Contract account ID | |
| method_name | Yes | View method name to call |