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