Trades of NFT Token with Address as Seller

Returns the latest 10 DEX trades on Arbitrum, where buy seller is 0xf977…acec: chain ID, block number, block time, transaction hash, smart contract, buy amount, buy price and 6 more fields.

By Nadia · saved 19 September 2023 · run 13 times · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $limit: Int!, $offset: Int!, $address: String) {
  EVM(dataset: combined, network: $network) {
    DEXTrades(
      orderBy: {descending: Block_Number}
      limit: {offset: $offset, count: $limit}
      where: {Trade: {Buy: {Seller: {is: $address}, Currency: {Fungible: true}}}}
    ) {
      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,
  "offset": 0,
  "address": "0xf977814e90da44bfa03b6295a0616a897441acec"
}

Similar queries