Monitor Trades On AldrinAmm

Streams DEX trades on Solana as they happen, where DEX program address is AMM55S…QWH6: block height, block time, buy account address, buy amount, buy amount in USD, buy currency name, buy currency symbol and 6 more fields.

By Ashish Bhintade · saved 21 June 2024 · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana {
    DEXTrades(
      where: {Trade: {Dex: {ProgramAddress: {is: "AMM55ShdkoGRB5jVYPjWziwk8m5MpwyDgsMWHaMSQWH6"}}}}
    ) {
      Block {
        Height
        Time
      }
      Trade {
        Buy {
          Account {
            Address
          }
          Amount
          AmountInUSD
          Currency {
            Name
            Symbol
          }
        }
        Dex {
          ProtocolName
        }
        Sell {
          Account {
            Address
          }
          Amount
          AmountInUSD
          Currency {
            Name
            Symbol
          }
        }
      }
    }
  }
}

Similar queries