Get account balances across all DeFi protocols

In case you want to get account balances across all supported DeFi protocols, you can call

Plain Text
Plain Text
// bankless.zerion.eth portfolio

and obtain all balances for a given account. The response from the smart-contract will contain information about each of the protocols

100 DAI // collateral on Compound
0.1 ETH // debt on Compound
100 USDC // locked in PoolTogether
213 TUSD + 201 USDC + 82 USDT + 11 DAI // Curve Y pool