
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": {
"updated_at": "{updated_at}",
"chain_id": 1,
"chain_name": "{chain_name}",
"chain_tip_height": 1,
"chain_tip_signed_at": "{chain_tip_signed_at}",
"items": [ 1 item ]
}
}
Example values, built from the documented fields.
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 the event logs of the latest block, or for a range of blocks. Includes sender contract metadata as well as decoded logs.
Path parameters
chainNamerequiredstringGoes in the path: replace {chainName} 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.addressstringThe address of the log events sender contract.topicsstringThe topic hash(es) to retrieve logs with.block-hashstringThe block hash to retrieve logs for.skip-decodebooleanOmit decoded log events.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