spraay_contract_read
Read onchain contract data by specifying chain, address, method, and arguments. Each call costs 0.002 USDC, paid via the x402 protocol without API keys.
Instructions
Read contract. Costs $0.002 USDC per call. Provide the listed fields as typed arguments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | args parameter | |
| chain | No | chain parameter | |
| method | Yes | method parameter | |
| address | Yes | address parameter |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the gateway call succeeded; false when it returned an error. | |
| data | No | The gateway response payload on success. The exact shape depends on the tool (see the tool description and the JSON in the text content block). | |
| error | No | Human-readable error message, present only when ok is false. |