solana trade not parsing

Returns DEX trades on Solana, where transaction signature is 34MzV7…Gyuq: block time, method, protocol family, protocol name, buy amount, buy account address, buy currency name and 14 more fields.

By gaurav · saved 10 January 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

{
  Solana {
    DEXTrades(
      where: {Transaction: {Signature: {is: "34MzV7BDanTkr4vNdxd2mkZbT7Jfkgp3PEPoA62HLPvgy3JqxM2aB3vB2BuC8mctAnhQ36Zja3nM6tU9BnSpGyuq"}}}
    ) {
      Block {
        Time
      }
      Instruction {
        Program {
          Method
        }
      }
      Trade {
        Dex {
          ProtocolFamily
          ProtocolName
        }
        Buy {
          Amount
          Account {
            Address
          }
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
            Fungible
            Uri
          }
        }
        Sell {
          Amount
          Account {
            Address
          }
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
            Fungible
            Uri
          }
        }
      }
      Transaction {
        Signature
      }
    }
  }
}

Similar queries