Hello,
I'm using this query to retrieve collateral/debt values -
{
user(id:"0x0005ccfc729f11a55d4b4a30659a17c613d227f1"){
id,
vaults{
id,
collateralType {
id,
},
collateral,
debt,
logs(orderBy:timestamp){
__typename,
...on VaultDebtChangeLog {
id,
debtDiff
}
...on VaultTransferChangeLog {
id,
timestamp,
}
...on VaultCollateralChangeLog {
id,
collateralDiff
}
}
}
}
}
After reading the maker docs, my understanding is vaultTransferLog represents liquidation events, when value is transferred. Is that correct? Or do we have to use collateralAuction to retrieve liquidation values per wallet. Would appreciate any tips or examples, thanks!