Coda by Ian Macalinao
Preparing search index...
@solana-programs/tribeca
getSetVoteInstruction
Function getSetVoteInstruction
getSetVoteInstruction
<
TAccountGovernor
extends
InstructionAccountInput
,
TAccountProposal
extends
InstructionAccountInput
,
TAccountVote
extends
InstructionAccountInput
,
TAccountElectorate
extends
InstructionSignerInput
,
TProgramAddress
extends
Address
=
Address
<
"Govz1VyoyLD5BL6CSCxUJLVLsQHRwjfFj1prNsdNg5Jw"
>
,
>
(
input
:
SetVoteInput
<
TAccountGovernor
,
TAccountProposal
,
TAccountVote
,
TAccountElectorate
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
;
}
,
)
:
SetVoteInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountGovernor
,
InstructionAccountInputAddress
<
TAccountGovernor
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountProposal
,
InstructionAccountInputAddress
<
TAccountProposal
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountVote
,
InstructionAccountInputAddress
<
TAccountVote
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountElectorate
,
InstructionAccountInputAddress
<
TAccountElectorate
>
,
>
,
>
Type Parameters
TAccountGovernor
extends
InstructionAccountInput
TAccountProposal
extends
InstructionAccountInput
TAccountVote
extends
InstructionAccountInput
TAccountElectorate
extends
InstructionSignerInput
TProgramAddress
extends
Address
=
Address
<
"Govz1VyoyLD5BL6CSCxUJLVLsQHRwjfFj1prNsdNg5Jw"
>
Parameters
input
:
SetVoteInput
<
TAccountGovernor
,
TAccountProposal
,
TAccountVote
,
TAccountElectorate
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
}
Returns
SetVoteInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountGovernor
,
InstructionAccountInputAddress
<
TAccountGovernor
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountProposal
,
InstructionAccountInputAddress
<
TAccountProposal
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountVote
,
InstructionAccountInputAddress
<
TAccountVote
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountElectorate
,
InstructionAccountInputAddress
<
TAccountElectorate
>
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...