Early Liquidity provider to Jediswap v2
Curated by
JediSwap
Call-to-Action
https://app.jediswap.xyz/#/poolID Type
STARKNET ADDRESS
Cred Type
GRAPHQL
Last Update Time
06/29/2024, 14:37:12
Endpoint
https://api.v2.jediswap.xyz/***Query
query info($address: String!) {
# write you query here
transactions(
where: {txSender:$address,poolAddressIn: ["0x3c4b9713e7d408681f8f541b999cfba9d0a85cd4152140e75d97353d5ecc8f0",
"0x6ee92065190d1cf4362dac0bf5c34c351df8fbaf365aafb9a839b0ff882c257",
"0x07ca5004d6d7f5d1a42caf8eea2211f70833b7f942f61c90440c9b9303cc0935",
"0x3d63cab925d97fcc674201ceaa99ff0a40a7f1972aedf57a79b446c1918537e",
"0x2b067c805d42789679226677abfe269e3745bdb6c8f8246f02d04de21e2a397",
"0x3c6d7570b38ae69cae141677508aa988834263d880618c420884791e6e60443"
], txTypeIn: "Mint"}
) {
txHash
txSender
txType
pool {
poolAddress
token0 {
tokenAddress
decimals
symbol
}
token1 {
tokenAddress
decimals
symbol
}
fee
}
amount0
amount1
datetime
pricesUSD
}
}Expression
function(data) {
const thresholdUSD = 24.75
if (data != null && data.transactions.length > 0) {
for (let i = 0; i < data.transactions.length; i++) {
const amountUSD = data.transactions[i].pricesUSD.txValueUSD
if (amountUSD >= thresholdUSD) return 1
}
}
return 0
}