dex_meteora_cp_amm

Returns the latest 10 DEX trades by token on Solana, where program method is swap, program name is cp_amm and DEX protocol family is Meteora: block time, method, parsed, program name, trade amount, amount in USD, currency name and 15 more fields.

By alex · saved 13 June 2025 · run 3 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana(dataset: realtime) {
    DEXTradeByTokens(
      where: {     
        Instruction: {
        Program: {
          Method: {
            is: "swap"
          }
          Name: {
            is: "cp_amm"
          }
        }
      }
      Trade: {Dex: {ProtocolFamily: {is: "Meteora"}}}}
      limit: {count: 10}
      orderBy: {descending: Block_Time}
    ) {
      Block {
        Time
      }
      Instruction {
        Program {
          Method
          Parsed
          Name
        }
      }
      Trade {
        Amount
        AmountInUSD
        Currency {
          Name
          Native
          Decimals
          Symbol
        }
        Order {
          BuySide
          LimitAmount
          LimitPrice
        }
        Price
        PriceInUSD
        Side {
          Amount
          AmountInUSD
          Currency {
            Decimals
            Name
            Native
          }
          Order {
            BuySide
          }
        }
      }
      Transaction {
        Signature
      }
    }
  }
}

Similar queries