Coda by Ian Macalinao
    Preparing search index...

    Type Alias CreateTokenOwnerRecordInstruction<TProgram, TAccountRealmAccount, TAccountGoverningTokenOwnerAccount, TAccountTokenOwnerRecord, TAccountGoverningTokenMint, TAccountPayer, TAccountSystemProgram, TRemainingAccounts>

    CreateTokenOwnerRecordInstruction: Instruction<TProgram> & InstructionWithData<
        ReadonlyUint8Array,
    > & InstructionWithAccounts<
        [
            TAccountRealmAccount extends string
                ? ReadonlyAccount<TAccountRealmAccount>
                : TAccountRealmAccount,
            TAccountGoverningTokenOwnerAccount extends string
                ? ReadonlyAccount<TAccountGoverningTokenOwnerAccount>
                : TAccountGoverningTokenOwnerAccount,
            TAccountTokenOwnerRecord extends string
                ? WritableAccount<TAccountTokenOwnerRecord>
                : TAccountTokenOwnerRecord,
            TAccountGoverningTokenMint extends string
                ? ReadonlyAccount<TAccountGoverningTokenMint>
                : TAccountGoverningTokenMint,
            TAccountPayer extends string
                ? ReadonlySignerAccount<TAccountPayer> & AccountSignerMeta<
                    TAccountPayer,
                >
                : TAccountPayer,
            TAccountSystemProgram extends string
                ? ReadonlyAccount<TAccountSystemProgram>
                : TAccountSystemProgram,
            ...TRemainingAccounts,
        ],
    >

    Type Parameters

    • TProgram extends string = typeof SPL_GOVERNANCE_PROGRAM_ADDRESS
    • TAccountRealmAccount extends string | AccountMeta = string
    • TAccountGoverningTokenOwnerAccount extends string | AccountMeta = string
    • TAccountTokenOwnerRecord extends string | AccountMeta = string
    • TAccountGoverningTokenMint extends string | AccountMeta = string
    • TAccountPayer extends string | AccountMeta = string
    • TAccountSystemProgram extends string | AccountMeta = "11111111111111111111111111111111"
    • TRemainingAccounts extends readonly AccountMeta[] = []