Coda by Ian Macalinao
Preparing search index...
@macalinao/clients-meteora-damm-v2
getCreateConfigInstructionAsync
Function getCreateConfigInstructionAsync
getCreateConfigInstructionAsync
<
TAccountConfig
extends
string
,
TAccountAdmin
extends
string
,
TAccountSystemProgram
extends
string
,
TAccountEventAuthority
extends
string
,
TAccountProgram
extends
string
,
TProgramAddress
extends
Address
=
Address
<
"cpamdpZCGKUy5JxQXB4dcpGPiikHawvSWAd6mEn1sGG"
>
,
>
(
input
:
CreateConfigAsyncInput
<
TAccountConfig
,
TAccountAdmin
,
TAccountSystemProgram
,
TAccountEventAuthority
,
TAccountProgram
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
}
,
)
:
Promise
<
CreateConfigInstruction
<
TProgramAddress
,
TAccountConfig
,
TAccountAdmin
,
TAccountSystemProgram
,
TAccountEventAuthority
,
TAccountProgram
,
[
]
,
>
,
>
Type Parameters
TAccountConfig
extends
string
TAccountAdmin
extends
string
TAccountSystemProgram
extends
string
TAccountEventAuthority
extends
string
TAccountProgram
extends
string
TProgramAddress
extends
Address
=
Address
<
"cpamdpZCGKUy5JxQXB4dcpGPiikHawvSWAd6mEn1sGG"
>
Parameters
input
:
CreateConfigAsyncInput
<
TAccountConfig
,
TAccountAdmin
,
TAccountSystemProgram
,
TAccountEventAuthority
,
TAccountProgram
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
}
Returns
Promise
<
CreateConfigInstruction
<
TProgramAddress
,
TAccountConfig
,
TAccountAdmin
,
TAccountSystemProgram
,
TAccountEventAuthority
,
TAccountProgram
,
[
]
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...