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