Coda by Ian Macalinao
    Preparing search index...

    Type Alias NewVoteInstruction<TProgram, TAccountProposal, TAccountVote, TAccountPayer, TAccountSystemProgram, TRemainingAccounts>

    NewVoteInstruction: Instruction<TProgram> & InstructionWithData<
        ReadonlyUint8Array,
    > & InstructionWithAccounts<
        [
            TAccountProposal extends string
                ? ReadonlyAccount<TAccountProposal>
                : TAccountProposal,
            TAccountVote extends string ? WritableAccount<TAccountVote> : TAccountVote,
            TAccountPayer extends string
                ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<
                    TAccountPayer,
                >
                : TAccountPayer,
            TAccountSystemProgram extends string
                ? ReadonlyAccount<TAccountSystemProgram>
                : TAccountSystemProgram,
            ...TRemainingAccounts,
        ],
    >

    Type Parameters

    • TProgram extends string = typeof GOVERN_PROGRAM_ADDRESS
    • TAccountProposal extends string | AccountMeta = string
    • TAccountVote extends string | AccountMeta = string
    • TAccountPayer extends string | AccountMeta = string
    • TAccountSystemProgram extends string | AccountMeta = "11111111111111111111111111111111"
    • TRemainingAccounts extends readonly AccountMeta[] = []