aptos_view_function
Retrieve data from Aptos smart contracts by calling read-only view functions. Query on-chain state without modifying the blockchain.
Instructions
Call a view function (read-only)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| function | Yes | The function identifier (e.g., 0x1::coin::balance) | |
| arguments | No | Function arguments | |
| typeArguments | No | Type arguments |