solana subscription giving interface conversion error with PriceAsymmetry

Returns DEX trades by token on Solana, where transaction signature is RUv8dt…MLVp and block slot is 378262371: block time, block height, slot, currency name, currency symbol, currency mint address, decimals and 24 more fields.

By Aleksey · saved 6 November 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana {
    DEXTradeByTokens(
      where: {
        Block: {
          Slot: {
            eq: "378262371"
          }
        }
        Transaction: {
          Signature: {
            is: "RUv8dtuUMA2udH7BXA69rCpM1KqDShQx7Ue4K1MbtdKDpgGhpCDV2LwPygTpLjnfyJhRSdUj5hdkUvsXFASMLVp"
          }
          Result: {Success: true}}}) {
      Block {
        Time
        Height
        Slot
      }
      Trade {
        Currency {
          Name
          Symbol
          MintAddress
          Decimals
        }
        Price
        PriceInUSD
        Amount
        AmountInUSD
        Account {
          Address
          Token {
            Owner
          }
        }
        Side {
          Currency {
            Name
            Symbol
            MintAddress
          }
          Account {
            Address
            Token {
              Owner
            }
          }
          Amount
          AmountInUSD
        }
        Dex {
          ProtocolName
          ProtocolFamily
          ProgramAddress
        }
        Market {
          MarketAddress
        }
        Index
        PriceAsymmetry
      }
      Transaction {
        Signer
        Signature
        FeePayer
        Fee
        FeeInUSD
      }
    }
  }
}

Similar queries