Function createReallocateInstruction

  • Construct a Reallocate instruction

    Parameters

    • account: PublicKey

      Address of the token account

    • payer: PublicKey

      Address paying for the reallocation

    • extensionTypes: ExtensionType[]

      Extensions to reallocate for

    • owner: PublicKey

      Owner of the account

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

      Signing accounts if owner is a multisig

    • programId: PublicKey = TOKEN_2022_PROGRAM_ID

      SPL Token program account

    Returns TransactionInstruction

    Instruction to add to a transaction

Generated using TypeDoc