TransferSolInstruction
type TransferSolInstruction<TProgram, TAccountSource, TAccountDestination, TRemainingAccounts> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountSource extends string ? WritableSignerAccount<TAccountSource> & AccountSignerMeta<TAccountSource> : TAccountSource, TAccountDestination extends string ? WritableAccount<TAccountDestination> : TAccountDestination, ...TRemainingAccounts]>;Type Parameters
| Type Parameter | Default type |
|---|---|
TProgram extends string | typeof SYSTEM_PROGRAM_ADDRESS |
TAccountSource extends string | AccountMeta<string> | string |
TAccountDestination extends string | AccountMeta<string> | string |
TRemainingAccounts extends readonly AccountMeta<string>[] | [] |