save base check tnx

Returns 500 DEX trades by token on Base, where currency smart contract is not 0x8335…2913, 0x4200…0006 or 1 more and transaction hash is 0x8a71…9fca, 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 5 December 2024 · Bitquery API v2

What it returns

Filters

The query

query {
  buybot_base: EVM(network: base) {
    DEXTradeByTokens(
      orderBy: {ascending: Block_Time}
      where: {TransactionStatus: {Success: true}, Trade: {Currency: {SmartContract: {notIn: ["0x833589fcd6edb6e08f4c7c32d4f71b54bda02913", "0x4200000000000000000000000000000000000006", "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"]}}}, Transaction: {Hash: {is: "0x8a715fccb99775655c072293087c68c0aa38895ad637e64215ba01df4fa09fca"}}}
      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