get-historical-portfolio-value-over-time
GET /v1/{chainName}/address/{walletAddress}/portfolio_v2/
Returns a daily portfolio balance for an address, broken down by token. The timeframe is user-configurable and defaults to 30 days.
Request
- Base URLhttps://api.covalenthq.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
chainNamestring required
The chain name eg: eth-mainnet.
walletAddressstring required
The requested address. Passing in an ENS, RNS, Lens Handle, or an Unstoppable Domain resolves automatically.
Query parameters
quote-currencystring
The currency to convert. Supports USD, CAD, EUR, SGD, INR, JPY, VND, CNY, KRW, RUB, TRY, NGN, ARS, AUD, CHF, and GBP.
daysinteger
The number of days to return data for. Defaults to 30 days.
Response
Successful response
Changes
No recorded changes to this operation across all 3 revisions of this API.