Price of a token on Raydium

Streams DEX trades by token on Solana as they happen, where currency mint address is So1111…1112 and DEX program address is 675kPX…1Mp8: block time, trade amount, trade price, currency symbol, currency name, currency mint address, side amount and 10 more fields.

By Akshat · saved 6 May 2024 · run 52 times · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana {
    DEXTradeByTokens(
      where: {Trade: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}, Dex: {ProgramAddress: {is: "675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8"}}}}
    ) {
      Block {
        Time
      }
      Trade {
        Amount
        PriceAgainstSideCurrency: Price 
        Currency {
          Symbol
          Name
          MintAddress
        }
        Side {
          Amount
          Currency {
            Symbol
            Name
            MintAddress
          }
        }
        Dex {
          ProgramAddress
          ProtocolFamily
          ProtocolName
        }
        Market {
          MarketAddress
        }
        Order {
          LimitAmount
          LimitPrice
          OrderId
        }
      }
    }
  }
}

Similar queries