Find all examples on Github: examples-light-tokenDocumentation Index
Fetch the complete documentation index at: https://luminouslabs-cc5545c6-docs-main-reorder.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Agent skill
Agent skill
Examples
Macros
Instructions
The instructions use pure CPI calls which you can combine with existing and / or light macros. For existing programs, you can replace spl_token with light_token instructions as you need. The API is a superset of SPL-token so switching is straightforward.| Description | ||
|---|---|---|
| approve | Approve delegate via CPI | Example | Docs |
| burn | Burn tokens via CPI | Example | Docs |
| close | Close token account via CPI | Example | Docs |
| create-associated-token-account | Create associated light-token account via CPI | Example | Docs |
| create-mint | Create light-token mint via CPI | Example | Docs |
| create-token-account | Create light-token account via CPI | Example | Docs |
| freeze | Freeze token account via CPI | Example | Docs |
| mint-to | Mint tokens via CPI | Example | Docs |
| revoke | Revoke delegate via CPI | Example | Docs |
| thaw | Thaw token account via CPI | Example | Docs |
| transfer-checked | Transfer with mint validation via CPI | Example | Docs |
| transfer-interface | Transfer between light-token, T22, and SPL accounts via CPI | Example | Docs |