Trades of NFT Token with Address as Seller

Returns the latest 10 DEX trades on Ethereum, where buy seller is 0xcf52…00e1, block date since 2021-02-01 and block date till 2025-02-19: chain ID, block number, block time, transaction hash, smart contract, buy amount, buy amount in USD and 10 more fields.

By Nadia · saved 19 February 2025 · run 4 times · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $limit: Int!, $address: String, $from: String, $till: String) {
  EVM(dataset: combined, network: $network) {
    DEXTrades(
      orderBy: {descending: Block_Number}
      limit: {count: $limit}
      where: {Trade: {Buy: {Seller: {is: $address}, Currency: {Fungible: true}}}, Block: {Date: {since: $from, till: $till}}}
    ) {
      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,
  "from": "2021-02-01",
  "till": "2025-02-19",
  "address": "0xcf523864704a502d36e8e24cd73a2aee6cda00e1"
}

Similar queries