Function updateRateInterestBearingMint

  • Update the interest rate of an interest bearing account

    Parameters

    • connection: Connection

      Connection to use

    • payer: Signer

      Payer of the transaction fees

    • mint: PublicKey

      Public key of the mint

    • rateAuthority: Signer

      The public key for the account that can update the rate

    • rate: number

      The initial interest rate

    • multiSigners: Signer[] = []

      Signing accounts if owner is a multisig

    • Optional confirmOptions: ConfirmOptions

      Options for confirming the transaction

    • programId: PublicKey = TOKEN_2022_PROGRAM_ID

      SPL Token program account

    Returns Promise<string>

    Signature of the confirmed transaction

Generated using TypeDoc