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_getLogs on BNB Smart Chain (BSC): Returns event logs matching a filter.
Endpoint
Authorization: Bearer <YOUR_GOLDRUSH_API_KEY>. See authentication.
Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
filter | Object | yes | {fromBlock?, toBlock?, address?, topics?, blockHash?}. Use blockHash for exact-block queries. | {"fromBlock":"0x14a3b8c","toBlock":"latest","address":"0xa0b86991...","topics":["0xddf252ad..."]} |
Returns
Array<Object>: Array of matching log objects.
Examples
Errors
| Code | Message |
|---|---|
-32005 | Query exceeded node range or response size limits. |
-32600 invalid request, -32601 method not found, -32602 invalid params.
Related Logs and events methods on BNB Smart Chain (BSC)
eth_newFilteron BNB Smart Chain (BSC)eth_newBlockFilteron BNB Smart Chain (BSC)eth_newPendingTransactionFilteron BNB Smart Chain (BSC)eth_uninstallFilteron BNB Smart Chain (BSC)eth_getFilterChangeson BNB Smart Chain (BSC)