Get Liquidity info Moonshot

Returns one DEX pool on Solana, where base currency mint address is g1qyf5…moon and DEX protocol family is Moonshot, sorted by block slot, highest first: market address, base currency mint address, base currency symbol, base currency name, quote currency mint address, quote currency symbol, quote currency name and 6 more fields.

By Sparks · saved 15 January 2025 · run 10 times · Bitquery API v2

What it returns

Filters

The query

query GetLatestLiquidityForPool {
  Solana {
    DEXPools(
      where: {Pool: {Market: {BaseCurrency: {MintAddress: {is: "g1qyf5dpwlixdfudwir42iqedvxprndhyy2ojlf5moon"}}}, Dex: {ProtocolFamily: {is: "Moonshot"}}}}
      orderBy: {descending: Block_Slot}
      limit: {count: 1}
    ) {
      Pool {
        Market {
          MarketAddress
          BaseCurrency {
            MintAddress
            Symbol
            Name
          }
          QuoteCurrency {
            MintAddress
            Symbol
            Name
          }
        }
        Dex {
          ProtocolFamily
          ProtocolName
        }
        Quote {
          PostAmount
          PriceInUSD
          PostAmountInUSD
        }
        Base {
          PostAmount
        }
      }
    }
  }
}

Similar queries