Coda by Ian Macalinao
    Preparing search index...

    Type Alias CreateTokenOwnerRecordAsyncInput<TAccountRealmAccount, TAccountGoverningTokenOwnerAccount, TAccountTokenOwnerRecord, TAccountGoverningTokenMint, TAccountPayer, TAccountSystemProgram>

    type CreateTokenOwnerRecordAsyncInput<
        TAccountRealmAccount extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountGoverningTokenOwnerAccount extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTokenOwnerRecord extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountGoverningTokenMint extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountPayer extends InstructionSignerInput = InstructionSignerInput,
        TAccountSystemProgram extends
            InstructionAccountInput = InstructionAccountInput,
    > = {
        governingTokenMint: TAccountGoverningTokenMint;
        governingTokenOwnerAccount: TAccountGoverningTokenOwnerAccount;
        payer: TAccountPayer;
        realmAccount: TAccountRealmAccount;
        systemProgram?: TAccountSystemProgram;
        tokenOwnerRecord?: TAccountTokenOwnerRecord;
    }

    Type Parameters

    • TAccountRealmAccount extends InstructionAccountInput = InstructionAccountInput
    • TAccountGoverningTokenOwnerAccount extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenOwnerRecord extends InstructionAccountInput = InstructionAccountInput
    • TAccountGoverningTokenMint extends InstructionAccountInput = InstructionAccountInput
    • TAccountPayer extends InstructionSignerInput = InstructionSignerInput
    • TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput
    Index
    governingTokenMint: TAccountGoverningTokenMint
    governingTokenOwnerAccount: TAccountGoverningTokenOwnerAccount
    realmAccount: TAccountRealmAccount
    systemProgram?: TAccountSystemProgram
    tokenOwnerRecord?: TAccountTokenOwnerRecord

    seeds=['governance', realm, governing_token_mint, governing_token_owner]