Solana dextrades

Returns the latest 20 DEX trades on Solana: method, protocol name, protocol family, program address, buy amount, buy amount in USD, buy currency symbol and 44 more fields.

By gaurav · saved 18 March 2025 · Bitquery API v2

What it returns

The query

{
  Solana {
    DEXTrades(limit: {count: 20}, orderBy: {descending: Block_Time}) {
      Instruction {
        Program {
          Method
        }
      }
      Trade {
        Dex {
          ProtocolName
          ProtocolFamily
          ProgramAddress
        }
        Buy {
          Amount
          AmountInUSD
          Currency {
            Symbol
            Name
            MintAddress
            UpdateAuthority
            Wrapped
            VerifiedCollection
            Uri
            UpdateAuthority
            TokenStandard
            SellerFeeBasisPoints
            PrimarySaleHappened
            Native
            MetadataAddress
            Key
            IsMutable
            Fungible
            EditionNonce
            Decimals
            CollectionAddress
          }
          Price
        }
        Sell {
          Amount
          AmountInUSD
          Currency {
            Symbol
            Name
            MintAddress
            UpdateAuthority
            Wrapped
            VerifiedCollection
            Uri
            UpdateAuthority
            TokenStandard
            SellerFeeBasisPoints
            PrimarySaleHappened
            Native
            MetadataAddress
            Key
            IsMutable
            Fungible
            EditionNonce
            Decimals
            CollectionAddress
          }
          Price
        }
      }
      Block {
        Time
        Height
      }
      Transaction {
        Signer
        Signature
        FeePayer
      }
    }
  }
}

Similar queries