Trades of NFT Token with Address as Seller

Returns the latest 10 DEX trades on Arbitrum, where buy seller is 0xf977…acec, block date since 2021-09-12 and block date till 2023-09-19: chain ID, block number, block time, transaction hash, smart contract, buy amount, buy price and 6 more fields.

By Nadia · saved 8 January 2024 · run 20 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
          Price
        }
        Sell {
          Amount
          Seller
          Buyer
          Price
          Currency {
            Symbol
            SmartContract
          }
        }
      }
    }
  }
}

Variables

{
  "network": "arbitrum",
  "limit": 10,
  "from": "2021-09-12",
  "till": "2023-09-19",
  "address": "0xf977814e90da44bfa03b6295a0616a897441acec"
}

Similar queries