RPC connection
Fee payer
Source SPL/T22 token account (any token account, not just associated token account)
Destination light-token account
Owner/authority of the source account (must sign)
Mint address
Amount to wrap
OptionalsplInterfaceInfo: SplInterfaceInfoOptional: SPL interface info (will be fetched if not provided)
OptionalmaxTopUp: numberOptional: cap on rent top-up (units of 1k lamports; default no cap)
OptionalconfirmOptions: ConfirmOptionsOptional: Confirm options
Transaction signature
Wrap tokens from an SPL/T22 account to a light-token account.
This is an agnostic action that takes explicit account addresses (spl-token style). Use getAssociatedTokenAddressSync() to derive associated token account addresses if needed.