[V2] BAYC NFT Sales

Returns the latest 10 DEX trades by token on Ethereum, where currency smart contract is 0xBC4C…f13D, DEX protocol name is seaport_v1.4 and block date after 2023-01-01: block time, trade amount, buyer, currency name, protocol name, smart contract, protocol family and 12 more fields.

By Nikhil · saved 21 September 2023 · run 4 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(network: eth, dataset: combined) {
    DEXTradeByTokens(
      limit: {count: 10}
      orderBy: {descending: Block_Time}
      where: {Trade: {Currency: {Fungible: false, SmartContract: {is: "0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D"}}, Dex: {ProtocolName: {is: "seaport_v1.4"}}}, Block: {Date: {after: "2023-01-01"}}}
    ) {
      Block {
        Time
      }
      Trade {
        Amount
        Buyer
        Currency {
          Name
          ProtocolName
          SmartContract
        }
        Dex {
          ProtocolFamily
          SmartContract
          ProtocolName
          ProtocolVersion
        }
        Ids
        Price
        Seller
        Side {
          Amount
          Buyer
          Currency {
            Name
            SmartContract
            Symbol
          }
          Type
        }
        URIs
      }
      Transaction {
        Hash
      }
    }
  }
}

Similar queries