Documentation Index
Fetch the complete documentation index at: https://goldrush.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
0.01 credits per call
eth_call on Polygon: Executes a read-only contract call without creating a transaction.
Endpoint
Authorization: Bearer <YOUR_GOLDRUSH_API_KEY>. See authentication.
Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
callObject | Object | yes | {from?, to, gas?, gasPrice?, value?, data?}. to and data are typically the only required fields for read calls. | {"to":"0xa0b86991...","data":"0x70a08231..."} |
blockTag | QUANTITY | TAG | yes | Block number (hex) or block tag at which to evaluate the call. | "latest" |
Returns
DATA: Hex-encoded ABI return data.
Examples
Errors
| Code | Message |
|---|---|
-32000 | Execution reverted (with revert reason in data if available). |
-32600 invalid request, -32601 method not found, -32602 invalid params.