Function createUpdateDefaultAccountStateInstruction

  • Construct an UpdateDefaultAccountState instruction

    Parameters

    • mint: PublicKey

      Mint to update

    • accountState: AccountState

      Default account state to set on all accounts

    • freezeAuthority: PublicKey

      The mint's freeze authority

    • multiSigners: (PublicKey | Signer)[] = []
    • programId: PublicKey = TOKEN_2022_PROGRAM_ID

      SPL Token program account

    Returns TransactionInstruction

    Instruction to add to a transaction

Generated using TypeDoc