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