Trades on Moonshot on Realtime

Streams DEX trades on Solana as they happen, where DEX protocol family is Moonshot: buy account address, buy token owner, buy amount, buy amount in USD, buy currency mint address, buy currency name, buy URI and 17 more fields.

By Mohit kapadiya · saved 20 November 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The subscription

subscription MyQuery {
  Solana {
    DEXTrades(
      where: {Trade: {Dex: {ProtocolFamily: {is: "Moonshot"}}}, Transaction: {Result: {Success: true}}}
    ) {
      Trade {
        Buy {
          Account {
            Address
            Token {
              Owner
            }
          }
          Amount
          AmountInUSD
          Currency {
            MintAddress
            Name
            Uri
            Symbol
          }
          Price
          PriceInUSD
        }
        Dex {
          ProgramAddress
          ProtocolFamily
          ProtocolName
        }
        Market {
          MarketAddress
        }
        Sell {
          Account {
            Address
            Token {
              Owner
            }
          }
          Amount
          AmountInUSD
          Currency {
            MintAddress
            Name
          }
          Price
          PriceInUSD
        }
      }
      Transaction {
        Signature
      }
      Block {
        Time
      }
    }
  }
}

Similar queries