solana trade

Returns DEX trades on Solana, where transaction signature is 4XtZr9…nRhB and block slot is 264769096: buy price in USD, buy price, buy amount in USD, buy amount, buy decimals, buy currency name, buy currency symbol and 16 more fields.

By gaurav · saved 9 May 2024 · run 23 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana {
    DEXTrades(
      where: {Block: {Slot: {eq: "264769096"}}, Transaction: {Signature: {is: "4XtZr9JKt3UKYMLgipFHnZWTHuHtNTMiQybSVakbWED6JJrtkWEL3eqG4YeqZyukFFhbnEEKShRGu3JtX1RnRhB"}}}
    ) {
      Trade {
        Buy {
          PriceInUSD
          Price
          AmountInUSD
          Amount
          Currency {
            Decimals
            Name
            Symbol
            MintAddress
          }
        }
        Dex {
          ProgramAddress
          ProtocolFamily
          ProtocolName
        }
        Index
        Market {
          MarketAddress
        }
        Sell {
          Amount
          AmountInUSD
          Price
          PriceInUSD
          Currency {
            Decimals
            MintAddress
            Name
            Symbol
          }
        }
      }
      Transaction {
        Signature
        Index
      }
    }
  }
}

Similar queries