not parsing dex trade

Returns DEX trades on Solana, where transaction signature is 2rB54v…EPEb and block slot is 342105554: block time, slot, transaction signature, signer, buy amount, buy currency mint address, buy price and 7 more fields.

By gaurav · saved 24 May 2025 · run 3 times · Bitquery API v2

What it returns

Filters

The query

{
  Solana(network: solana) {
    DEXTrades(
      where: {Transaction: {Signature: {is: "2rB54v7P4s1K6KGS85u3JavqS9N4tYrmSQrNRUP1JVDBjwwiLsvzT9UJPwhuGaj3qCEQyctGrtcTvQJ6bYHrEPEb"}}, Block: {Slot: {eq: "342105554"}}}
    ) {
      Block {
        Time
        Slot
      }
      Transaction {
        Signature
        Signer
      }
      Trade {
        Buy {
          Amount
          Currency {
            MintAddress
          }
          Price
          PriceInUSD
        }
        Sell {
          Amount
          Currency {
            MintAddress
          }
          Price
          PriceInUSD
        }
      }
      Instruction {
        Accounts {
          Address
        }
        Program {
          Address
        }
      }
    }
  }
}

Similar queries