subscription delay in solana

Streams DEX trades by token on Solana as they happen, where market market address is HvAqak…f3DV: block time, currency name, currency symbol, trade amount, trade price, price in USD, side currency name and 5 more fields.

By Akshat · saved 2 August 2024 · run 4 times · Bitquery API v2

What it returns

Filters

The subscription

subscription MyQuery {
  Solana {
    DEXTradeByTokens(
      where: {Trade: {Market: {MarketAddress: {is: "HvAqakZgurMR2br1eGWPU6EeFcxzmeW8n6Mn7ejEf3DV"}}}, Transaction: {Result: {Success: true}}}
    ) {
      Block {
        Time
      }
      Trade {
        Currency {
          Name
          Symbol
        }
        Amount
        PriceAgainstSideCurrency: Price
        PriceInUSD
        Side {
          Currency {
            Name
            Symbol
          }
          Amount
          Type
        }
      }
      Transaction {
        Maker: Signer
        Signature
      }
    }
  }
}

Similar queries