[Updated] Real time tradgees on Raydium DEX on Solana

Real time trades on Raydium DEX on Solana

Streams DEX trades on Solana as they happen, where DEX program address is 675kPX…1Mp8 or 6EF8rr…wF6P and buy currency mint address is not So1111…1112 or 111111…1111: protocol name, buy amount, buy currency mint address, buy currency symbol, buy price, sell amount, sell decimals and 6 more fields.

By mi er · saved 14 December 2024 · run 2 times · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana {
    DEXTrades(
      where: {
        Trade: {
          Dex: {
            ProgramAddress: {
              in: ["675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8","6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"]
            }
          }, 
          Buy: {
            Currency: {
              MintAddress: {
                notIn: ["So11111111111111111111111111111111111111112","11111111111111111111111111111111"]
              }
            }
          }
        }, 
        Transaction: {
          Result: {Success: true}
        }
      }
    ) {
      Trade {
        Dex {
          ProtocolName
        }
        Buy {
          Amount
          Currency {
            MintAddress
            Symbol
          }
          PriceAgaistSellCurrency: Price
        }
        Sell {
          Amount
          Currency {
            Decimals
            Symbol
          }
          PriceAgaistBuyCurrency: Price
        }
      }
      Block {
        Time
        Height
      }
      Transaction {
        Signature
        Signer
      }
    }
  }
}

Similar queries