Price Asymmetry error

Returns the latest 100 DEX trades by token on Base, where currency smart contract is 0x2858…a3C3, block time since 2024-12-26 and block time till 2024-12-26: block time, trade amount, amount in USD, currency name, currency symbol, trade price, price in USD and 4 more fields.

By Akshat · saved 27 December 2024 · run 9 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(network: base, dataset: combined) {
    DEXTradeByTokens(
      orderBy: {descending: Block_Time}
      limit: {count: 100}
      where: {Trade: {Currency: {SmartContract: {is: "0x2858E541f108161aC2A9ba301f52F515BeEBa3C3"}}, PriceAsymmetry: {le: 0.5}}, TransactionStatus: {Success: true}, Block: {Time: {since: "2024-12-26T12:00:00Z", till: "2024-12-26T14:00:00Z"}}}
    ) {
      Block {
        Time
      }
      Trade {
        Amount
        AmountInUSD
        Currency {
          Name
          Symbol
        }
        Price
        PriceInUSD
        Side {
          Amount
          Currency {
            Name
            Symbol
          }
        }
      }
      Transaction {
        Hash
      }
    }
  }
}

Similar queries