Wrong prices casuing wrong amount in usd

Returns the latest 20 trades, where transaction header hash is 4g5wcw…XR8Y and trader address is 9JS2wv…bamE: base, quote, block date, block time, timestamp, currency ID, currency name and 23 more fields.

By Omkar_BQ · saved 30 April 2026 · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Trading {
    Trades(
      orderBy: {descending: Block_Time}
      where: {TransactionHeader: {Hash: {is: "4g5wcwUfuew21ymQKSRsSgedSTxztrREDabQ6xaCGxLCjYfpKV8asnFVUqQHACkNE2nCC8E8hwYoYtCrxaZyXR8Y"}}, Trader: {Address: {is: "9JS2wvthca4ytXJXwBwWsRiN45mN2vcQ6raV6EYLbamE"}}}
      limit: {count: 20}
    ) {
      Amounts {
        Base
        Quote
      }
      AmountsInUsd {
        Base
        Quote
      }
      Block {
        Date
        Time
        Timestamp
      }
      Pair {
        Currency {
          Id
          Name
          Symbol
        }
        Pool {
          Address
        }
        QuoteCurrency {
          Id
          Name
          Symbol
        }
        QuoteToken {
          Address
          Name
          Symbol
        }
        Token {
          Address
          Name
          Symbol
        }
      }
      Price
      PriceInUsd
      Side
      Ranking {
        Position
        Weight
      }
      Supply {
        MarketCap
        TotalSupply
        FullyDilutedValuationUsd
      }
      Trader {
        Address
      }
      TransactionHeader {
        Fee
        FeePayer
        Hash
      }
    }
  }
}

Similar queries