# query **Published by:** [rich1977.eth](https://paragraph.com/@rich1977/) **Published on:** 2022-08-05 **URL:** https://paragraph.com/@rich1977/query ## Content query info($address:String!){ USDCreceived: receiveds(where: { recipient: $address, block_gt: 1533850, token_in: ["0x8f552a71EFE5eeFc207Bf75485b356A0b3f01eC9"], amount_gt: 9000000 }) { id originAndNonce token recipient liquidityProvider amount block timestamp } WBTCreceived: receiveds(where: { recipient: $address, block_gt: 1533850, token_in: ["0x1DC78Acda13a8BC4408B207c9E48CDBc096D95e0"], amount_gt: 40000 }) { id originAndNonce token recipient liquidityProvider amount block timestamp } WETHreceived: receiveds(where: { recipient: $address, block_gt: 1533850, token_in: ["0x30D2a9F5FDf90ACe8c17952cbb4eE48a55D916A7"], amount_gt: 5000000000000000 }) { 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 } ## Publication Information - [rich1977.eth](https://paragraph.com/@rich1977/): Publication homepage - [All Posts](https://paragraph.com/@rich1977/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@rich1977): Subscribe to updates