Coda by Ian Macalinao
Preparing search index...
@solana-programs/quarry
getNewWrapperInstruction
Function getNewWrapperInstruction
getNewWrapperInstruction
<
TAccountBase
extends
InstructionSignerInput
,
TAccountMintWrapper
extends
InstructionAccountInput
,
TAccountAdmin
extends
InstructionAccountInput
,
TAccountTokenMint
extends
InstructionAccountInput
,
TAccountTokenProgram
extends
InstructionAccountInput
,
TAccountPayer
extends
InstructionSignerInput
,
TAccountSystemProgram
extends
InstructionAccountInput
,
TProgramAddress
extends
Address
=
Address
<
"QMWoBmAyJLAsA1Lh9ugMTw2gciTihncciphzdNzdZYV"
>
,
>
(
input
:
NewWrapperInput
<
TAccountBase
,
TAccountMintWrapper
,
TAccountAdmin
,
TAccountTokenMint
,
TAccountTokenProgram
,
TAccountPayer
,
TAccountSystemProgram
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
;
}
,
)
:
NewWrapperInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountBase
,
InstructionAccountInputAddress
<
TAccountBase
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountMintWrapper
,
InstructionAccountInputAddress
<
TAccountMintWrapper
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountAdmin
,
InstructionAccountInputAddress
<
TAccountAdmin
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountTokenMint
,
InstructionAccountInputAddress
<
TAccountTokenMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountTokenProgram
,
InstructionAccountInputAddress
<
TAccountTokenProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountPayer
,
InstructionAccountInputAddress
<
TAccountPayer
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountSystemProgram
,
InstructionAccountInputAddress
<
TAccountSystemProgram
>
,
>
,
>
Type Parameters
TAccountBase
extends
InstructionSignerInput
TAccountMintWrapper
extends
InstructionAccountInput
TAccountAdmin
extends
InstructionAccountInput
TAccountTokenMint
extends
InstructionAccountInput
TAccountTokenProgram
extends
InstructionAccountInput
TAccountPayer
extends
InstructionSignerInput
TAccountSystemProgram
extends
InstructionAccountInput
TProgramAddress
extends
Address
=
Address
<
"QMWoBmAyJLAsA1Lh9ugMTw2gciTihncciphzdNzdZYV"
>
Parameters
input
:
NewWrapperInput
<
TAccountBase
,
TAccountMintWrapper
,
TAccountAdmin
,
TAccountTokenMint
,
TAccountTokenProgram
,
TAccountPayer
,
TAccountSystemProgram
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
}
Returns
NewWrapperInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountBase
,
InstructionAccountInputAddress
<
TAccountBase
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountMintWrapper
,
InstructionAccountInputAddress
<
TAccountMintWrapper
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountAdmin
,
InstructionAccountInputAddress
<
TAccountAdmin
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountTokenMint
,
InstructionAccountInputAddress
<
TAccountTokenMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountTokenProgram
,
InstructionAccountInputAddress
<
TAccountTokenProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountPayer
,
InstructionAccountInputAddress
<
TAccountPayer
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountSystemProgram
,
InstructionAccountInputAddress
<
TAccountSystemProgram
>
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...