How it works
You have token outputs (TTXOs). To send tokens, you spend some outputs and create new ones for the recipient. If you’re sending less than what’s in your outputs, you get change back.Why it’s instant
No on-chain transaction. No block confirmations. The transfer happens the moment Spark Operators commit it. Bob can spend those tokens immediately.Input selection
When you have multiple outputs, the SDK picks which ones to spend. Two strategies: Small first (default): Spends your smallest outputs first. Over time, this consolidates your holdings into fewer, larger outputs. Large first: Spends your biggest outputs first. Useful if you want to preserve small outputs for exact-amount payments later. You can also pick specific outputs manually if you care.Sending to multiple people
You can send to multiple recipients in one transaction. More efficient than separate transfers. One round trip to operators instead of many.Consolidation
If you have lots of small outputs, transfer everything to yourself. You’ll end up with one output instead of many. Cleaner, faster, cheaper to exit to L1 if you ever need to.Limits
| Limit | Value |
|---|---|
| Max inputs per transaction | 500 |
| Max outputs per transaction | 500 |
| Validity window | 300 seconds |