Skip to content

Allow for filtering of logs by type #3935

@petertonysmith94

Description

@petertonysmith94

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

Metadata

Metadata

Labels

featIssue is a feature

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions