query {
walletPositions(inputs: [
{ protocol: "aave", chainId: 1, walletAddress: "0x742d35Cc6634C0532925a3b8D4C9db96C4b4d8b6" }
]) {
data {
... on AaveWalletPositions {
protocol walletAddress chainId
marketStates {
marketAddress marketName chainId
netWorth healthFactor totalCollateralBase totalDebtBase
}
supplyPositions {
type marketAddress marketName chainId
currency { address symbol name decimals }
balance { value raw decimals }
balanceUsd
apy { value formatted }
isCollateral canBeCollateral
}
borrowPositions {
type marketAddress marketName chainId
currency { address symbol name decimals }
debt { value raw decimals }
debtUsd
apy { value formatted }
}
reserves {
underlyingTokenAddress
aToken { address symbol name decimals }
vToken { address symbol name decimals }
}
}
}
errors { protocol chainId walletAddress error { code message retryable } }
}
}