Arbitrage-for-Solana

Streams DEX trades on Solana as they happen, where buy currency mint address is So1111…1112 and sell currency mint address is EPjFWd…Dt1v: program address, protocol family, buy price in USD and block time.

By Kshitij Mahajan · saved 7 July 2024 · run 39 times · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana {
    DEXTrades(
      where: {Trade: {Buy: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}, Sell: {Currency: {MintAddress: {is: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"}}}}}
    ) {
      Trade {
        Dex {
          ProgramAddress
          ProtocolFamily
        }
        Buy {
          PriceInUSD
        }
      }
      Block {
        Time
      }
    }
  }
}

Similar queries