Latest Bored Ape Yacht Club: BAYC Token Trades on Opensea

Returns 10 DEX trades on Ethereum, where buy currency smart contract is 0xbc4c…f13d, transaction to is 0x0000…14dc and DEX protocol name is seaport_v1.4: buy currency name, buy protocol name, buy currency symbol, buy fungible, buy smart contract, buy amount, buy buyer and 13 more fields.

By gaurav · saved 29 June 2023 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    DEXTrades(
      where: {Trade: {Dex: {ProtocolName: {in: "seaport_v1.4"}}, Buy: {Currency: {SmartContract: {is: "0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d"}}}}, Transaction: {To: {is: "0x00000000000000adc04c56bf30ac9d3c0aaf14dc"}}}
      limit: {count: 10}
    ) {
      Trade {
        Buy {
          Currency {
            Name
            ProtocolName
            Symbol
            Fungible
            SmartContract
          }
          Amount
          Buyer
          Ids
          Price
          URIs
        }
        Sell {
          Currency {
            Name
            ProtocolName
            Symbol
            Decimals
            Fungible
            SmartContract
          }
          Amount
          Buyer
          Ids
          URIs
        }
      }
    }
  }
}

Similar queries