trades with transaction fees

Returns the latest 10 DEX trades by token on Solana: block time, slot, account address, token owner, amount in USD, trade amount, price in USD and 16 more fields.

By gaurav · saved 7 May 2025 · run 16 times · Bitquery API v2

What it returns

The query

query MyQuery {
  Solana {
    DEXTradeByTokens(
      where: {Transaction: {Result: {Success: true}}}
      limit: {count: 10}
      orderBy: {descending: Block_Time}
    ) {
      Block {
        Time
        Slot
      }
      Trade {
        Account {
          Address
          Token {
            Owner
          }
        }
        AmountInUSD
        Amount
        PriceInUSD
        Price
        Dex {
          ProtocolName
        }
        Currency {
          MintAddress
          Name
        }
        Side {
          Account {
            Address
            Token {
              Owner
            }
          }
          Type
          AmountInUSD
          Amount
          Currency {
            Name
            MintAddress
          }
        }
      }
      Transaction {
        Signer
        Signature
        FeeInUSD
        Fee
        FeePayer
      }
    }
  }
}

Similar queries