Place a Lend Market Order of at least 30 USDC in USDC-DEC2024 on Arbitrum One

Curated by

Secured Finance

ID Type

EVM ADDRESS

Cred Type

GRAPHQL

Last Update Time

12/27/2024, 11:15:31

Query

query info($address: String!) {
  user(id: $address) {
    orders(
      where: {currency: "0x5553444300000000000000000000000000000000000000000000000000000000", maturity: "1735257600", createdAt_gte: "1732971600", inputAmount_gte: "30000000", side:0, type: Market}
    ) {
      id
    }
  }
}

Expression

function checkOrderExists(result) {
    return result?.user?.orders?.length > 0 ? 1 : 0;
}