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_estimateGas on BNB Smart Chain (BSC): Estimates the gas required to execute a transaction.
Endpoint
Authorization: Bearer <YOUR_GOLDRUSH_API_KEY>. See authentication.
Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
callObject | Object | yes | Same shape as eth_call’s call object. | {"from":"0xd8da6bf2...","to":"0xa0b86991...","data":"0xa9059cbb..."} |
Returns
QUANTITY: Hex-encoded gas estimate.
Examples
Errors
| Code | Message |
|---|---|
-32000 | Gas required exceeds allowance, or transaction reverts. |
-32600 invalid request, -32601 method not found, -32602 invalid params.