#3935·fuels-ts

Allow for filtering of logs by type

Author: petertonysmith94Created Jul 28, 2025Updated Jul 31, 2025
Labelsfeat

Summary

The Rust SDK currently allows for decoding of logs based upon their type:

rust
  let mut order_cancel_events =
      order_book
          .contract
          .log_decoder()
          .decode_logs_with_type::<OrderCancelledEvent>(&success.receipts)?;

We should have similar functionality within the TS SDK