Trades of NFT Token with Address as Buyer

Returns the latest 10 DEX trades on Ethereum, where buy buyer is 0xcf52…00e1: chain ID, block time, transaction hash, smart contract, buy price, buy price in USD, buy amount and 7 more fields.

By Nadia · saved 28 April 2025 · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $limit: Int!, $address: String) {
  EVM(dataset: realtime, network: $network) {
    DEXTrades(
      orderBy: {descending: Block_Number}
      limit: {count: $limit}
      where: {Trade: {Buy: {Buyer: {is: $address}, Currency: {Fungible: true}}}}
    ) {
      ChainId
      Block {
        Time
      }
      Transaction {
        Hash
      }
      Trade {
        Dex {
          SmartContract
        }
        Buy {
          Price
          PriceInUSD
          Amount
          Buyer
          Seller
          Ids
          URIs
        }
        Sell {
          Amount
          Currency {
            Symbol
            SmartContract
          }
        }
      }
    }
  }
}

Variables

{
  "network": "eth",
  "limit": 10,
  "address": "0xcf523864704a502d36e8e24cd73a2aee6cda00e1"
}

Similar queries