DexTradeRealTime

Streams DEX trades on Solana as they happen: program address, protocol family, protocol name, buy amount, buy account address, buy decimals, buy currency symbol and 21 more fields.

By ccnutty · saved 6 December 2024 · run 2 times · Bitquery API v2

What it returns

The subscription

subscription DexTrades {
  Solana {
    DEXTrades {
      Trade {
        Dex {
          ProgramAddress
          ProtocolFamily
          ProtocolName
        }
        Buy {
          Amount
          Account {
            Address
          }
          Currency {
            Decimals
            Symbol
            Native
            Name
            MintAddress
          }
          Price
          PriceInUSD
        }
        Market {
          MarketAddress
        }
        Sell {
          Account {
            Address
          }
          Currency {
            Decimals
            Symbol
            Native
            Name
            Fungible
            MintAddress
          }
          Price
          PriceInUSD
          Amount
          AmountInUSD
        }
      }
      Block {
        Slot
        Time
      }
      Transaction {
        Result {
          Success(selectWhere: true)
        }
        Signature
      }
    }
  }
}

Similar queries