sol_dextrade_tx

Streams DEX trades on Solana as they happen: program address, protocol family, protocol name, buy amount, buy account address, buy metadata address, buy currency key and 31 more fields.

By George · saved 16 May 2024 · Bitquery API v2

What it returns

The subscription

subscription {
  Solana {
    DEXTrades {
      Trade {
        Dex {
          ProgramAddress
          ProtocolFamily
          ProtocolName
        }
        Buy {
          Amount
          Account {
            Address
          }
          Currency {
            MetadataAddress
            Key
            IsMutable
            EditionNonce
            Decimals
            CollectionAddress
            Fungible
            Symbol
            Native
            Name
          }
          Order {
            LimitPrice
            LimitAmount
            OrderId
          }
        }
        Market {
          MarketAddress
        }
        Sell {
          Account {
            Address
          }
          Currency {
            MetadataAddress
            Key
            IsMutable
            EditionNonce
            Decimals
            CollectionAddress
            Fungible
            Symbol
            Native
            Name
          }
        }
      }
      Instruction {
        Program {
          Address
          AccountNames
          Method
          Parsed
          Name
        }
      }
      Transaction {
        Fee
        FeePayer
        Signature
        Signer
      }
    }
  }
}

Similar queries