This API retrieves the balances of a given address within supported lending protocols.
[Optional] The id of the blockchain for which you want protocol data from. Defaults to ethereum-mainnet
if not specified. Use the Information Protocols API to view the supported protocol and blockchain id combinations.
ethereum-mainnet
, polygon-mainnet
, avalanche-mainnet
, arbitrum-mainnet
, optimism-mainnet
aavev2
, aavev3
, compoundv2
, compoundv3
, makerdao
The address for which the portfolio summary is desired. Example address is for aavev3
plus polygon-mainnet
only.
[Optional] Time format of the timestamps in the return payload.
milliseconds
, ms
, iso
, iso8601
, hr
, human_readable
[Optional] If provided, returns the balances of the address at this date. Enables historical look-back of the portfolio.<BR>[Formats] seconds | milliseconds | iso8601
<BR>[Examples] 1578531600 | 1578531600000 | 2020-09-01T01:00:00
<BR>[Warning] Cannot be combined with blockNumber
, use only one, either endDate
or blockNumber
.
[Optional] If provided, returns the balances of the address when this block was finalized. Enables historical look-back of the portfolio.<BR>[Warning] Cannot be combined with endDate
, use only one, either blockNumber
or endDate
.
200
The response is of type object
.