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