Skip to main content

  1. TransferChecked validates that the decimals parameter matches the mint’s decimals.
  2. Use for Light→Light transfers when you need decimal verification.
  3. For transfers involving SPL or Token 2022 accounts, use Transfer Interface instead.
Install the agent skill:
See the AI tools guide for dedicated skills.
1

Prerequisites

Cargo.toml
Test with Lite-SVM (…)
2

Transfer with Decimal Check

Find the source code here.

Next Steps

Learn how to close Light Token accounts