Advanced features
The SDK supports advanced features that may be useful in specific use cases:
- Spark HTLC payments enable conditional payments and are useful for implementing atomic cross-chain swaps
- Custom leaf optimization allows defining the leaf optimization policy and controlling when it occurs in order to minimize payment latency