Function createUpdateRateInterestBearingMintInstruction

  • Construct an UpdateRateInterestBearingMint instruction

    Parameters

    • mint: PublicKey

      Mint to initialize

    • rateAuthority: PublicKey

      The public key for the account that can update the rate

    • rate: number

      The updated interest rate

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

      Signing accounts if rateAuthority is a multisig

    • programId: PublicKey = TOKEN_2022_PROGRAM_ID

      SPL Token program account

    Returns TransactionInstruction

    Instruction to add to a transaction

Generated using TypeDoc