Fetch by token address

Returns DEX pools on Solana, where base currency program address is not Tokenk…Q5DA: decimals, base currency key, base currency name, base currency symbol, URI, program address, quote currency key and 2 more fields.

By Minh Le · saved 8 May 2025 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana {
    DEXPools(
      where: {Pool: {Market: {BaseCurrency: {ProgramAddress: {notIn: ["TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", ""]}, Key: {not: ""}}}}}
    ) {
      Pool {
        Market {
          BaseCurrency {
            Decimals
            Key
            Name
            Symbol
            Uri
            ProgramAddress
          }
          QuoteCurrency {
            Decimals
            Key
            Name
            Symbol
            ProgramAddress
            Uri
          }
        }
      }
    }
  }
}

Similar queries