Ultimate Harvest Moon | Nomad Mission: Bridgers
Curated by

Moonbeam Network
ID Type
EVM ADDRESS
Cred Type
GRAPHQL
Last Update Time
07/02/2023, 10:15:38
Endpoint
https://api.thegraph.com/***Query
query info($address:String!){ USDCreceived: receiveds(where: { recipient: $address, block_gt: 1533850, block_lt: 1563615, token_in: ["0x8f552a71EFE5eeFc207Bf75485b356A0b3f01eC9"] }) { id originAndNonce token recipient liquidityProvider amount block timestamp } WBTCreceived: receiveds(where: { recipient: $address, block_gt: 1533850, block_lt: 1563615, token_in: ["0x1DC78Acda13a8BC4408B207c9E48CDBc096D95e0"] }) { id originAndNonce token recipient liquidityProvider amount block timestamp } WETHreceived: receiveds(where: { recipient: $address, block_gt: 1533850, block_lt: 1563615, token_in: ["0x30D2a9F5FDf90ACe8c17952cbb4eE48a55D916A7"] }) { id originAndNonce token recipient liquidityProvider amount block timestamp } fulfilleds(where: {user: $address, timestamp_gt: 1651986604}) { id caller isContract returnData router success transactionId user block timestamp } }
Expression
function(resp) { if (resp != null && (resp.fulfilleds != null && resp.fulfilleds.length > 0 || resp.USDCreceived != null && resp.USDCreceived.length > 0 || resp.WBTCreceived != null && resp.WBTCreceived.length > 0 || resp.WETHreceived != null && resp.WETHreceived.length > 0)) { return 1 } return 0 }