Monitor the destination chain
- Watch for the
TokenLockedevent or use theIdon the destination chain by callinggetDetails(). - Verify that the
hashlockof theHTLCon the destination chain provides sufficient time to act, ensuring it is at least . - Once detected, capture the
hashlockvalue.
The state of the destination chain should be read from a Light Client if one exists; if not, it should be read from multiple RPC providers.