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:
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
Source: FuelLabs/fuels-ts