Coda by Ian Macalinao
Preparing search index...
@solana-programs/spl-governance
getSetGovernanceConfigInstruction
Function getSetGovernanceConfigInstruction
getSetGovernanceConfigInstruction
<
TAccountGovernanceAccount
extends
InstructionSignerInput
,
TProgramAddress
extends
Address
=
Address
<
"GovER5Lthms3bLBqWub97yVrMmEogzX7xNjdXpPPCVZw"
>
,
>
(
input
:
SetGovernanceConfigInput
<
TAccountGovernanceAccount
>
,
config
?:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
;
}
,
)
:
SetGovernanceConfigInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountGovernanceAccount
,
InstructionAccountInputAddress
<
TAccountGovernanceAccount
>
,
>
,
>
Type Parameters
TAccountGovernanceAccount
extends
InstructionSignerInput
TProgramAddress
extends
Address
=
Address
<
"GovER5Lthms3bLBqWub97yVrMmEogzX7xNjdXpPPCVZw"
>
Parameters
input
:
SetGovernanceConfigInput
<
TAccountGovernanceAccount
>
Optional
config
:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
}
Returns
SetGovernanceConfigInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountGovernanceAccount
,
InstructionAccountInputAddress
<
TAccountGovernanceAccount
>
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...