Real-time-trades-on-AldrinAmm-DEX-on-Solana

Streams the latest DEX trades on Solana as they happen, where DEX program address is AMM55S…QWH6: program address, protocol family, protocol name, buy currency name, buy currency symbol, buy currency mint address, buy amount and 9 more fields.

By Kshitij Mahajan · saved 5 June 2024 · Bitquery API v2

What it returns

Filters

The subscription

subscription{
  Solana {
    DEXTrades(
      orderBy: {descending: Block_Time}
      where: {
        Trade: {
          Dex: {
            ProgramAddress: {
              is: "AMM55ShdkoGRB5jVYPjWziwk8m5MpwyDgsMWHaMSQWH6"
            }
          }
        }
      }
    ) {
      Trade {
        Dex {
          ProgramAddress
          ProtocolFamily
          ProtocolName
        }
        Buy {
          Currency {
            Name
            Symbol
            MintAddress
          }
          Amount
          Account {
            Address
          }
          PriceAgainstSellCurrency: Price
        }
        Sell {
          Account {
            Address
          }
          Amount
          Currency {
            Name
            Symbol
            MintAddress
          }
          PriceAgainstBuyCurrency: Price
        }
      }
      Block {
        Time
      }
    }
  }
}

Similar queries