Get an account summary
query
accountSummary → AccountSummary!Returns current holdings for one wallet in USD. All values are integers scaled by 18 decimals.
Arguments
walletAddressAddress!requiredResponse
netHoldingsUsdBigInt!Net holdings in USD (assets - debts)
totalCollateralUsdBigInt!Total collateral in USD
totalBorrowedUsdBigInt!Total borrowed in USD
totalLentUsdBigInt!Total lent in USD
Try it
Query
Variables
Example response
{
"data": {
"accountSummary": {
"netHoldingsUsd": "337319000000000000",
"totalCollateralUsd": 0,
"totalBorrowedUsd": 0,
"totalLentUsd": "337319000000000000"
}
}
}