Latest NFT Trades

Returns the latest DEX trades on Ethereum, where buy currency smart contract is 0x0fcb…4170: block time, transaction hash, protocol family, protocol name, protocol version, smart contract, buy price and 7 more fields.

By gaurav · saved 11 May 2023 · run 22 times · Bitquery API v2

What it returns

Filters

The query

query($network: evm_network, $token: String) {
  EVM(network: $network){
    DEXTrades(
      orderBy: {descending: Block_Number}
      where: {
        Trade: {
          Buy: {
            Currency: {SmartContract: {is: $token }}
          }
        }
      }
    ){
      Block {
        Time
      }
      Transaction {
        Hash
      }
      Trade {
        Dex {
          ProtocolFamily
          ProtocolName
          ProtocolVersion
          SmartContract
        }
        Buy {
					Price
          Buyer
          Ids
          URIs
        }
        Sell {
          Seller
          Amount
          Currency {
            Symbol
            SmartContract
          }        
        }
      }
    }
  }
}

Variables

{
  "network": "eth",
  "token": "0x0fcbd68251819928c8f6d182fc04be733fa94170"
}

Similar queries