ok

Streams DEX trades and transfers on Solana as they happen, where program method contains burn: sell account address, sell amount, sell currency mint address, sell decimals, sell currency symbol, sell currency name, sell price and 36 more fields.

By TZ · saved 16 August 2024 · run 6 times · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana(trigger_on: all) {
    DEXTrades {
      Trade {
        Sell {
          Account {
            Address
          }
          Amount
          Currency {
            MintAddress
            Decimals
            Symbol
            Name
          }
          PriceAgaistBuyCurrency: Price
        }
        Buy {
          Account {
            Address
          }
          Amount
          Currency {
            MintAddress
            Decimals
            Symbol
            ProgramAddress
            Name
          }
          PriceAgaistSellCurrency: Price
        }
        Dex {
          ProtocolName
          ProtocolFamily
          ProgramAddress
        }
      }
      Transaction {
        Signature
        FeePayer
        Signer
        Result {
          Success
          ErrorMessage
        }
      }
    }
    Transfers {
      Transfer {
        Amount
        AmountInUSD
        Authority {
          Address
        }
        Currency {
          MintAddress
          Name
          Symbol
          ProgramAddress
          SellerFeeBasisPoints
          PrimarySaleHappened
          Native
        }
        Receiver {
          Address
          Token {
            Owner
          }
        }
        Sender {
          Address
          Token {
            Owner
          }
        }
      }
      Transaction {
        Signer
        Signature
        Result {
          Success
          ErrorMessage
        }
        Index
        FeePayer
        FeeInUSD
        Fee
      }
    }
    Instructions(
      where: {Instruction: {Program: {Method: {includes: "burn"}}}}
    ) {
      Transaction {
        Signature
        Signer
      }
      Block {
        Time
      }
      Instruction {
        Logs
        Program {
          Method
          Name
          Address
        }
      }
    }
  }
}

Similar queries