File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -498,6 +498,21 @@ pub enum TokenInstruction {
498498 /// 3. `..+M` `[signer]` M signer accounts.
499499 WithdrawExcessLamports = 38 ,
500500
501+ /// Transfer lamports from a native SOL account to a destination account.
502+ ///
503+ /// This is useful to unwrap lamports from a wrapped SOL account.
504+ ///
505+ /// Accounts expected by this instruction:
506+ ///
507+ /// 0. `[writable]` The source account.
508+ /// 1. `[writable]` The destination account.
509+ /// 2. `[signer]` The source account's owner/delegate.
510+ ///
511+ /// Data expected by this instruction:
512+ ///
513+ /// - `u64` The amount of lamports to transfer.
514+ UnwrapLamports ,
515+
501516 /// Executes a batch of instructions. The instructions to be executed are
502517 /// specified in sequence on the instruction data. Each instruction
503518 /// provides:
You can’t perform that action at this time.
0 commit comments