solana token prices updated

Returns the latest DEX trades on Solana, where buy currency mint address is HRw8mq…NuEP or Hk82ay…mKuL, sell currency mint address is So1111…1112 and buy currency mint address is So1111…1112: buy currency mint address and buy price in USD.

By gaurav · saved 12 August 2024 · run 12 times · Bitquery API v2

What it returns

Filters

The query

query CurrentPrices {
  Solana {
    token0: DEXTrades(
      limitBy: {count: 1, by: Trade_Buy_Currency_MintAddress}
      orderBy: {descending: Block_Time}
      where: {Trade: {Buy: {Currency: {MintAddress: {in: ["HRw8mqK8N3ASKFKJGMJpy4FodwR3GKvCFKPDQNqUNuEP", "Hk82ay38uGpYgqjdXXCiATavVQwAMaBNyxsUWbapmKuL"]}}}, Sell: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}}, Transaction: {Result: {Success: true}}}
    ) {
      Trade {
        Buy {
          Currency {
            MintAddress
          }
          PriceInUSD
        }
      }
    }
    sol: DEXTrades(
      limitBy: {count: 1, by: Trade_Buy_Currency_MintAddress}
      orderBy: {descending: Block_Time}
      where: {Trade: {Buy: {Currency: {MintAddress: {in: ["So11111111111111111111111111111111111111112"]}}}, Sell: {Currency: {MintAddress: {is: "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB"}}}}, Transaction: {Result: {Success: true}}}
    ) {
      Trade {
        Buy {
          Currency {
            MintAddress
          }
          PriceInUSD
        }
      }
    }
  }
}

Similar queries