migration via dexpools

Returns the latest 10 DEX pools on Solana, where program address is pAMMBa…fXEA and program method is create_pool: transaction signature, pool event index, quote post amount, quote post amount in USD, quote change amount in USD, quote change amount, market address and 17 more fields.

By Divyasshree · saved 4 June 2025 · run 5 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana(network: solana) {
    DEXPools(
      where: {Instruction: {Program: {Method: {is: "create_pool"}, Address: {is: "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"}}}}
      limit: {count: 10}
      orderBy: {descending: Block_Time}
    ) {
      Transaction {
        Signature
      }
      PoolEvent {
        Index
      }
      Pool {
        Quote {
          PostAmount
          PostAmountInUSD
          ChangeAmountInUSD
          ChangeAmount
        }
        Market {
          MarketAddress
          BaseCurrency {
            Name
            MintAddress
          }
          QuoteCurrency {
            Name
            MintAddress
          }
        }
        Dex {
          ProtocolName
          ProtocolFamily
          ProgramAddress
        }
        Base {
          PostAmountInUSD
          PostAmount
          ChangeAmountInUSD
          ChangeAmount
        }
      }
      Instruction {
        Program {
          Name
          Method
          Address
          AccountNames
        }
        Index
        Accounts {
          Address
        }
      }
      Block {
        Slot
      }
    }
  }
}

Similar queries