AAVE V1 Depositor on Ethereum
Call-to-Action
https://github.com/aave/aave-protocol/tree/master/thegraphID Type
EVM ADDRESS
Cred Type
SUBGRAPH
Last Update Time
07/08/2023, 14:56:29
Query
query user($address: String) {
deposits(
where:{
user:$address
}
) {
id
}
}
Expression
function(data) {
if (data == null || data.deposits == null) {
return 0
} else if (Array.isArray(data.deposits) && data.deposits.length == 0) {
return 0
}
return 1
}