Latest trades of Seaport

Returns the latest 10 DEX trades, where DEX protocol name is seaport_v1.4: protocol name, buy price, buy seller, buy buyer, buy has URI, buy currency name, buy fungible and 8 more fields.

By gaurav · saved 20 September 2023 · Bitquery API v2

What it returns

Filters

The query

{
  EVM {
    DEXTrades(
      limit: {offset: 0, count: 10}
      orderBy: {descendingByField: "Block_Time"}
      where: {Trade: {Dex: {ProtocolName: {is: "seaport_v1.4"}}}}
    ) {
      Trade {
        Dex {
          ProtocolName
        }
        Buy {
          Price
          Seller
          Buyer
          Currency {
            HasURI
            Name
            Fungible
            SmartContract
          }
        }
        Sell {
          Price
          Amount
          Currency {
            Name
          }
          Buyer
          Seller
        }
      }
      Transaction {
        Hash
      }
      Block {
        Time
      }
    }
  }
}

Similar queries