BASE ALL BUY

Streams 500 DEX trades by token on Base as they happen, where currency smart contract is not 0x8335…2913, 0x4200…0006 or 1 more, sorted by block time: block time, block number, trade amount, currency symbol, smart contract, currency name, price in USD and 16 more fields.

By Peter · saved 21 December 2024 · run 6 times · Bitquery API v2

What it returns

Filters

The subscription


subscription {
  buybot_base: EVM(network: base) {
    DEXTradeByTokens(
      orderBy: {ascending: Block_Time}
      where: {TransactionStatus: {Success: true}, Trade: {Currency: {SmartContract: {notIn: ["0x833589fcd6edb6e08f4c7c32d4f71b54bda02913", "0x4200000000000000000000000000000000000006", "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"]}}}}
      limit: {count: 500}
    ) {
      Block {
        Time
        Number
      }
      Trade {
        Amount
        Currency {
          Symbol
          SmartContract
          Name
        }
        PriceInUSD
        Dex {
          ProtocolName
          SmartContract
        }
        Side {
          Amount
          AmountInUSD
          Currency {
            Symbol
            SmartContract
          }
          Buyer
          Seller
          Type
        }
        Buyer
        Seller
        AmountInUSD
      }
      Transaction {
        Maker: From
        Hash
        Type
        To
      }
      TransactionStatus {
        Success
      }
    }
  }
}

Similar queries