Coda by Ian Macalinao
Preparing search index...
@solana-programs/mpl-core
getAddExternalPluginAdapterV1Instruction
Function getAddExternalPluginAdapterV1Instruction
getAddExternalPluginAdapterV1Instruction
<
TAccountAsset
extends
InstructionAccountInput
,
TAccountCollection
extends
InstructionAccountInput
,
TAccountPayer
extends
InstructionSignerInput
,
TAccountAuthority
extends
InstructionSignerInput
,
TAccountSystemProgram
extends
InstructionAccountInput
,
TAccountLogWrapper
extends
InstructionAccountInput
,
TProgramAddress
extends
Address
=
Address
<
"CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d"
>
,
>
(
input
:
AddExternalPluginAdapterV1Input
<
TAccountAsset
,
TAccountCollection
,
TAccountPayer
,
TAccountAuthority
,
TAccountSystemProgram
,
TAccountLogWrapper
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
;
}
,
)
:
AddExternalPluginAdapterV1Instruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountAsset
,
InstructionAccountInputAddress
<
TAccountAsset
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountCollection
,
InstructionAccountInputAddress
<
TAccountCollection
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountPayer
,
InstructionAccountInputAddress
<
TAccountPayer
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountAuthority
,
InstructionAccountInputAddress
<
TAccountAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountSystemProgram
,
InstructionAccountInputAddress
<
TAccountSystemProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLogWrapper
,
InstructionAccountInputAddress
<
TAccountLogWrapper
>
,
>
,
>
Adds a new external plugin adapter (Oracle, AppData, LifecycleHook, etc.) to an asset.
Type Parameters
TAccountAsset
extends
InstructionAccountInput
TAccountCollection
extends
InstructionAccountInput
TAccountPayer
extends
InstructionSignerInput
TAccountAuthority
extends
InstructionSignerInput
TAccountSystemProgram
extends
InstructionAccountInput
TAccountLogWrapper
extends
InstructionAccountInput
TProgramAddress
extends
Address
=
Address
<
"CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d"
>
Parameters
input
:
AddExternalPluginAdapterV1Input
<
TAccountAsset
,
TAccountCollection
,
TAccountPayer
,
TAccountAuthority
,
TAccountSystemProgram
,
TAccountLogWrapper
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
}
Returns
AddExternalPluginAdapterV1Instruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountAsset
,
InstructionAccountInputAddress
<
TAccountAsset
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountCollection
,
InstructionAccountInputAddress
<
TAccountCollection
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountPayer
,
InstructionAccountInputAddress
<
TAccountPayer
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountAuthority
,
InstructionAccountInputAddress
<
TAccountAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountSystemProgram
,
InstructionAccountInputAddress
<
TAccountSystemProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLogWrapper
,
InstructionAccountInputAddress
<
TAccountLogWrapper
>
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...
Adds a new external plugin adapter (Oracle, AppData, LifecycleHook, etc.) to an asset.