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
getBalances(0x0ef51b7dac3933b8109482e7d910c21848e45da0f)

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
...