
Block heights by date
GET/v1/{chainName}/block_v2/{startDate}/{endDate}/
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"
}'
{
"success": true,
"data": {
"updated_at": "{updated_at}",
"chain_id": 1,
"chain_name": "{chain_name}",
"items": [ 1 item ],
"pagination": { … }
}
}
Example values, built from the documented fields.
$0.00109per call
Every call costs the same.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
About this endpoint
Returns all the block heights within a particular date range. Useful for rendering a display where you sort blocks by day.
Path parameters
chainNamerequiredstringGoes in the path: replace {chainName} in the request.startDaterequiredstringGoes in the path: replace {startDate} in the request.endDaterequiredstringGoes in the path: replace {endDate} in the request.Query parameters
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.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
- 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
- Historical token pricesGET/v1/pricing/historical_by_addresses_v2/{chainName}/{quoteCurrency}/{contractAddress}/$0.00109 per callFixed