trades with the transaction fees

Returns DEX trades by token: block time, amount in USD, trade amount, buyer, seller, smart contract, currency name and 13 more fields.

By gaurav · saved 7 May 2025 · run 1 time · Bitquery API v2

What it returns

The query

query MyQuery {
  EVM {
    DEXTradeByTokens(
      where: {TransactionStatus: {Success: true}}
    ) {
      Block {
        Time
      }
      Trade {
        AmountInUSD
        Amount
        Buyer
        Seller
        Currency {
          SmartContract
          Name
          Symbol
        }
        Side {
          Currency {
            Symbol
            SmartContract
            Name
          }
          Seller
          Buyer
          AmountInUSD
          Amount
        }
      }
      Transaction {
        From
        To
        Hash
      }
      joinTransactions(join: inner, Transaction_Hash: Transaction_Hash) {
        Fee {
          SenderFee
          SenderFeeInUSD
        }
      }
    }
  }
}

Similar queries