
Historical portfolio value
GET/v1/{chainName}/address/{walletAddress}/portfolio_v2/
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": {
"days":
}
}'
{
"success": true,
"data": {
"address": "{address}",
"updated_at": "{updated_at}",
"quote_currency": "{quote_currency}",
"chain_id": 1,
"chain_name": "{chain_name}",
"items": [ 1 item ]
}
}
Example values, built from the documented fields.
The price changes with the values you send.
from$0.00218per call
Request-basedThe price depends on what you send. You see it before you run.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
About this endpoint
Returns a daily portfolio balance for an address, broken down by token. The timeframe is user-configurable and defaults to 30 days.
Path parameters
chainNamerequiredstringGoes in the path: replace {chainName} in the request.walletAddressrequiredstringGoes in the path: replace {walletAddress} in the request.Query parameters
quote-currencystringThe currency to convert. Supports USD, CAD, EUR, SGD, INR, JPY, VND, CNY, KRW, RUB, TRY, NGN, ARS, AUD, CHF, and GBP.daysintegerThe number of days to return data for. Defaults to 30 days.Response types
addressThe requested address.stringupdated_atThe timestamp when the response was generated. Useful to show data staleness to users.stringquote_currencyThe requested quote currency eg: USD.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
- 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