gill

getTransferSolInstruction

function getTransferSolInstruction<TAccountSource, TAccountDestination, TProgramAddress>(input, config?): TransferSolInstruction<TProgramAddress, TAccountSource, TAccountDestination>;

Type Parameters

Type ParameterDefault type
TAccountSource extends string-
TAccountDestination extends string-
TProgramAddress extends AddressAddress<"11111111111111111111111111111111">

Parameters

ParameterType
inputTransferSolInput<TAccountSource, TAccountDestination>
config?{ programAddress?: TProgramAddress; }
config.programAddress?TProgramAddress

Returns

TransferSolInstruction<TProgramAddress, TAccountSource, TAccountDestination>

On this page