Coda by Ian Macalinao
    Preparing search index...

    Module @macalinao/clients-mpl-token-auth-rules

    @macalinao/clients-mpl-token-auth-rules

    TypeScript client for the Metaplex Token Auth Rules program, generated with Coda.

    bun add @macalinao/clients-mpl-token-auth-rules @solana/kit
    
    import { getCreateOrUpdateInstruction } from "@macalinao/clients-mpl-token-auth-rules";
    

    The client is generated from the Metaplex Token Auth Rules IDL and provides typed instructions, accounts, types, and errors with full ESM support.

    Enumerations

    Key
    MplTokenAuthRulesAccount
    MplTokenAuthRulesInstruction

    Type Aliases

    CreateOrUpdateArgs
    CreateOrUpdateArgsArgs
    CreateOrUpdateAsyncInput
    CreateOrUpdateInput
    CreateOrUpdateInstruction
    CreateOrUpdateInstructionData
    CreateOrUpdateInstructionDataArgs
    FrequencyAccount
    FrequencyAccountArgs
    KeyArgs
    MplTokenAuthRulesError
    MplTokenAuthRulesPlugin
    MplTokenAuthRulesPluginAccounts
    MplTokenAuthRulesPluginInstructions
    MplTokenAuthRulesPluginPdas
    MplTokenAuthRulesPluginRequirements
    ParsedCreateOrUpdateInstruction
    ParsedMplTokenAuthRulesInstruction
    ParsedPuffRuleSetInstruction
    ParsedValidateInstruction
    ParsedWriteToBufferInstruction
    Payload
    PayloadArgs
    PayloadType
    PayloadTypeArgs
    ProofInfo
    ProofInfoArgs
    PuffRuleSetArgs
    PuffRuleSetArgsArgs
    PuffRuleSetInput
    PuffRuleSetInstruction
    PuffRuleSetInstructionData
    PuffRuleSetInstructionDataArgs
    RuleSetBufferSeeds
    RuleSetHeader
    RuleSetHeaderArgs
    RuleSetRevisionMapV1
    RuleSetRevisionMapV1Args
    RuleSetSeeds
    SeedsVec
    SeedsVecArgs
    ValidateArgs
    ValidateArgsArgs
    ValidateInput
    ValidateInstruction
    ValidateInstructionData
    ValidateInstructionDataArgs
    WriteToBufferArgs
    WriteToBufferArgsArgs
    WriteToBufferAsyncInput
    WriteToBufferInput
    WriteToBufferInstruction
    WriteToBufferInstructionData
    WriteToBufferInstructionDataArgs

    Variables

    CREATE_OR_UPDATE_DISCRIMINATOR
    MPL_TOKEN_AUTH_RULES_ERROR__ADDITIONAL_SIGNER_CHECK_FAILED
    MPL_TOKEN_AUTH_RULES_ERROR__ALIGNMENT_ERROR
    MPL_TOKEN_AUTH_RULES_ERROR__AMOUNT_CHECK_FAILED
    MPL_TOKEN_AUTH_RULES_ERROR__BORSH_DESERIALIZATION_ERROR
    MPL_TOKEN_AUTH_RULES_ERROR__BORSH_SERIALIZATION_ERROR
    MPL_TOKEN_AUTH_RULES_ERROR__DATA_IS_EMPTY
    MPL_TOKEN_AUTH_RULES_ERROR__DATA_SLICE_UNEXPECTED_INDEX_ERROR
    MPL_TOKEN_AUTH_RULES_ERROR__DATA_TYPE_MISMATCH
    MPL_TOKEN_AUTH_RULES_ERROR__DERIVED_KEY_INVALID
    MPL_TOKEN_AUTH_RULES_ERROR__DUPLICATED_OPERATION_NAME
    MPL_TOKEN_AUTH_RULES_ERROR__FREQUENCY_CHECK_FAILED
    MPL_TOKEN_AUTH_RULES_ERROR__INCORRECT_OWNER
    MPL_TOKEN_AUTH_RULES_ERROR__INVALID_COMPARE_OP
    MPL_TOKEN_AUTH_RULES_ERROR__INVALID_CONSTRAINT_TYPE
    MPL_TOKEN_AUTH_RULES_ERROR__IS_WALLET_CHECK_FAILED
    MPL_TOKEN_AUTH_RULES_ERROR__MESSAGE_PACK_DESERIALIZATION_ERROR
    MPL_TOKEN_AUTH_RULES_ERROR__MESSAGE_PACK_SERIALIZATION_ERROR
    MPL_TOKEN_AUTH_RULES_ERROR__MISSING_ACCOUNT
    MPL_TOKEN_AUTH_RULES_ERROR__MISSING_PAYLOAD_VALUE
    MPL_TOKEN_AUTH_RULES_ERROR__NAME_TOO_LONG
    MPL_TOKEN_AUTH_RULES_ERROR__NOT_IMPLEMENTED
    MPL_TOKEN_AUTH_RULES_ERROR__NUMERICAL_OVERFLOW
    MPL_TOKEN_AUTH_RULES_ERROR__OPERATION_NOT_FOUND
    MPL_TOKEN_AUTH_RULES_ERROR__P_D_A_MATCH_CHECK_FAILED
    MPL_TOKEN_AUTH_RULES_ERROR__PAYER_IS_NOT_SIGNER
    MPL_TOKEN_AUTH_RULES_ERROR__PAYLOAD_VEC_INDEX_ERROR
    MPL_TOKEN_AUTH_RULES_ERROR__PROGRAM_OWNED_CHECK_FAILED
    MPL_TOKEN_AUTH_RULES_ERROR__PROGRAM_OWNED_LIST_CHECK_FAILED
    MPL_TOKEN_AUTH_RULES_ERROR__PROGRAM_OWNED_SET_CHECK_FAILED
    MPL_TOKEN_AUTH_RULES_ERROR__PROGRAM_OWNED_TREE_CHECK_FAILED
    MPL_TOKEN_AUTH_RULES_ERROR__PUBKEY_LIST_MATCH_CHECK_FAILED
    MPL_TOKEN_AUTH_RULES_ERROR__PUBKEY_MATCH_CHECK_FAILED
    MPL_TOKEN_AUTH_RULES_ERROR__PUBKEY_TREE_MATCH_CHECK_FAILED
    MPL_TOKEN_AUTH_RULES_ERROR__RULE_AUTHORITY_IS_NOT_SIGNER
    MPL_TOKEN_AUTH_RULES_ERROR__RULE_SET_OWNER_MISMATCH
    MPL_TOKEN_AUTH_RULES_ERROR__RULE_SET_READ_FAILED
    MPL_TOKEN_AUTH_RULES_ERROR__RULE_SET_REVISION_NOT_AVAILABLE
    MPL_TOKEN_AUTH_RULES_ERROR__UNEXPECTED_RULE_SET_FAILURE
    MPL_TOKEN_AUTH_RULES_ERROR__UNSUPPORTED_RULE_SET_REV_MAP_VERSION
    MPL_TOKEN_AUTH_RULES_ERROR__UNSUPPORTED_RULE_SET_VERSION
    MPL_TOKEN_AUTH_RULES_ERROR__VALUE_OCCUPIED
    MPL_TOKEN_AUTH_RULES_PROGRAM_ADDRESS
    PUFF_RULE_SET_DISCRIMINATOR
    VALIDATE_DISCRIMINATOR
    WRITE_TO_BUFFER_DISCRIMINATOR

    Functions

    createOrUpdateArgs
    decodeFrequencyAccount
    fetchAllFrequencyAccount
    fetchAllMaybeFrequencyAccount
    fetchFrequencyAccount
    fetchMaybeFrequencyAccount
    findRuleSetBufferPda
    findRuleSetPda
    getCreateOrUpdateArgsCodec
    getCreateOrUpdateArgsDecoder
    getCreateOrUpdateArgsEncoder
    getCreateOrUpdateDiscriminatorBytes
    getCreateOrUpdateInstruction
    getCreateOrUpdateInstructionAsync
    getCreateOrUpdateInstructionDataCodec
    getCreateOrUpdateInstructionDataDecoder
    getCreateOrUpdateInstructionDataEncoder
    getFrequencyAccountCodec
    getFrequencyAccountDecoder
    getFrequencyAccountEncoder
    getKeyCodec
    getKeyDecoder
    getKeyEncoder
    getMplTokenAuthRulesErrorMessage
    getPayloadCodec
    getPayloadDecoder
    getPayloadEncoder
    getPayloadTypeCodec
    getPayloadTypeDecoder
    getPayloadTypeEncoder
    getProofInfoCodec
    getProofInfoDecoder
    getProofInfoEncoder
    getPuffRuleSetArgsCodec
    getPuffRuleSetArgsDecoder
    getPuffRuleSetArgsEncoder
    getPuffRuleSetDiscriminatorBytes
    getPuffRuleSetInstruction
    getPuffRuleSetInstructionDataCodec
    getPuffRuleSetInstructionDataDecoder
    getPuffRuleSetInstructionDataEncoder
    getRuleSetHeaderCodec
    getRuleSetHeaderDecoder
    getRuleSetHeaderEncoder
    getRuleSetRevisionMapV1Codec
    getRuleSetRevisionMapV1Decoder
    getRuleSetRevisionMapV1Encoder
    getSeedsVecCodec
    getSeedsVecDecoder
    getSeedsVecEncoder
    getValidateArgsCodec
    getValidateArgsDecoder
    getValidateArgsEncoder
    getValidateDiscriminatorBytes
    getValidateInstruction
    getValidateInstructionDataCodec
    getValidateInstructionDataDecoder
    getValidateInstructionDataEncoder
    getWriteToBufferArgsCodec
    getWriteToBufferArgsDecoder
    getWriteToBufferArgsEncoder
    getWriteToBufferDiscriminatorBytes
    getWriteToBufferInstruction
    getWriteToBufferInstructionAsync
    getWriteToBufferInstructionDataCodec
    getWriteToBufferInstructionDataDecoder
    getWriteToBufferInstructionDataEncoder
    identifyMplTokenAuthRulesInstruction
    isCreateOrUpdateArgs
    isMplTokenAuthRulesError
    isPayloadType
    isPuffRuleSetArgs
    isValidateArgs
    isWriteToBufferArgs
    mplTokenAuthRulesProgram
    parseCreateOrUpdateInstruction
    parseMplTokenAuthRulesInstruction
    parsePuffRuleSetInstruction
    parseValidateInstruction
    parseWriteToBufferInstruction
    payloadType
    puffRuleSetArgs
    validateArgs
    writeToBufferArgs