gill
gill/programs/system/Type aliases

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 ParameterDefault type
TProgram extends stringtypeof SYSTEM_PROGRAM_ADDRESS
TAccountSource extends string | AccountMeta<string>string
TAccountDestination extends string | AccountMeta<string>string
TRemainingAccounts extends readonly AccountMeta<string>[][]

On this page