StaticrouterConverts a raw SwapCompletedEvent into a RouterTradeEvent.
Amount strings are converted to bigint without passing through
JavaScript number, and the indexer timestamp is converted to a number.
An absent timestamp therefore becomes NaN, matching the shared event
casting behavior.
The raw event returned by the Sui indexer.
The normalized router trade event.
Converts raw router indexer events into the SDK's public event shape.