Trades of NFT Token with Address as Seller

Returns the latest 10 DEX trades on Ethereum, where buy seller is 0xcf52…00e1: chain ID, block number, block time, transaction hash, smart contract, buy amount, buy amount in USD and 10 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: {Seller: {is: $address}, Currency: {Fungible: true}}}}
    ) {
      ChainId
      Block {
        Number
        Time
      }
      Transaction {
        Hash
      }
      Trade {
        Dex {
          SmartContract
        }
        Buy {
          Amount
          AmountInUSD
          Price
          PriceInUSD
        }
        Sell {
          Amount
          AmountInUSD
          Seller
          Buyer
          Price
          PriceInUSD
          Currency {
            Symbol
            SmartContract
          }
        }
      }
    }
  }
}

Variables

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

Similar queries