
Event logs by topic
GET/v1/{chainName}/events/topics/{topicHash}/
Published by GoldRush Blockchain Data APIPublisher docs
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "goldrush-blockchain-data-api",
"path": "",
"method": "GET",
"query": {
"starting-block": ,
"ending-block":
}
}'
{
"success": true,
"data": {
"data": { … },
"error": false,
"error_code": null,
"error_message": null
}
}
A real response, recorded when Orthogonal checked this endpoint.
The final charge depends on what comes back. It shows after Run.
$0.0109per 1K items returned
Response-basedYou pay for what comes back, never more than the price shown before you run.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
About this endpoint
Returns all event logs of the same topic hash across all contracts within a particular chain. Useful for cross-sectional analysis of event logs that are emitted on-chain.
Path parameters
chainNamerequiredstringGoes in the path: replace {chainName} in the request.topicHashrequiredstringGoes in the path: replace {topicHash} in the request.Query parameters
starting-blockintegerThe first block to retrieve log events with. Accepts decimals, hexadecimals, or the strings earliest and latest.ending-blockstringThe last block to retrieve log events with. Accepts decimals, hexadecimals, or the strings earliest and latest.secondary-topicsstringAdditional topic hash(es) to filter on - padded & unpadded address fields are supported. Separate multiple topics with a comma.page-sizeintegerNumber of items per page. Omitting this parameter defaults to 100.page-numberinteger0-indexed page number to begin pagination.Response types
updated_atThe timestamp when the response was generated. Useful to show data staleness to users.stringchain_idThe requested chain ID eg: 1.integerchain_nameThe requested chain name eg: eth-mainnet.stringchain_tip_heightThe latest block height of the blockchain at the time this response was provided.integerchain_tip_signed_atThe timestamp of the latest signed block at the time this response was provided.stringMore from GoldRush Blockchain Data API
- Chain sync statusGET/v1/chains/status/$0.00109 per callFixed
- ENS name resolutionGET/v1/{chainName}/address/{walletAddress}/resolve_address/$0.00109 per callFixed
- Paginated wallet transactionsGET/v1/{chainName}/address/{walletAddress}/transactions_v3/page/{page}/$0.000109 per item returnedResponse-based · up to $0.01635
- Time bucket transactionsGET/v1/{chainName}/bulk/transactions/{walletAddress}/{timeBucket}/$0.000109 per item returnedResponse-based · up to $0.01635
- Recent wallet transactionsGET/v1/{chainName}/address/{walletAddress}/transactions_v3/$0.000109 per item returnedResponse-based · up to $0.01635
- Bitcoin transactionsGET/v1/cq/covalent/app/bitcoin/transactions/$0.000109 per item returnedResponse-based · up to $0.109
- Historical Bitcoin balanceGET/v1/btc-mainnet/address/{walletAddress}/historical_balances/$0.00109 per callFixed
- Earliest wallet transactionsGET/v1/{chainName}/bulk/transactions/{walletAddress}/$0.000109 per item returnedResponse-based · up to $0.01635
- Block heights by dateGET/v1/{chainName}/block_v2/{startDate}/{endDate}/$0.00109 per callFixed
- Wallet transaction summaryGET/v1/{chainName}/address/{walletAddress}/transactions_summary/$0.00109 per callFixed
- Gas pricesGET/v1/{chainName}/event/{eventType}/gas_prices/$0.00109 per callFixed
- Contract event logsGET/v1/{chainName}/events/address/{contractAddress}/$0.0109 per 1K items returnedResponse-based · up to $0.0545