DeFi SDK
Search
K

ProtocolAdapter

view functions

getBalance

function getBalance(
address token,
address account
)
view
returns (uint256)
The function returns 1) account's balance on the protocol and 2) token type.