fail

Returns the latest DEX trades on Solana, where buy account owner is FhJ7WG…wnuW and block time before 2024-12-26: method, transaction signature, protocol family, protocol name, buy price, buy price in USD, buy amount and 19 more fields.

By johnathan · saved 26 December 2024 · run 9 times · Bitquery API v2

What it returns

Filters

The query

{
  Solana {
    DEXTrades(
      where: {Instruction: {Program: {Method: {}}}, Trade: {Buy: {Account: {Owner: {is: "FhJ7WGyFLk6f6JJMoeQR7jwAW1NMXsCFCtTAXtT2wnuW"}}}}, Block: {Time: {before: "2024-12-26T19:28:03Z"}}}
      orderBy: {descending: Block_Time}
    ) {
      Instruction {
        Program {
          Method
        }
      }
      Transaction {
        Signature
      }
      Trade {
        Dex {
          ProtocolFamily
          ProtocolName
        }
        Buy {
          Price
          PriceInUSD
          Amount
          Account {
            Owner
            Address
          }
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
            Fungible
            Uri
          }
        }
        Sell {
          Price
          PriceInUSD
          Amount
          Account {
            Address
          }
          Currency {
            Name
            Symbol
            Decimals
            Fungible
            Uri
            MintAddress
          }
        }
      }
      Block {
        Time
      }
    }
  }
}

Similar queries