Function createInitializeInterestBearingMintInstruction

  • Construct an InitializeInterestBearingMint instruction

    Parameters

    • mint: PublicKey

      Mint to initialize

    • rateAuthority: PublicKey

      The public key for the account that can update the rate

    • rate: number

      The initial interest rate

    • programId: PublicKey = TOKEN_2022_PROGRAM_ID

      SPL Token program account

    Returns TransactionInstruction

    Instruction to add to a transaction

Generated using TypeDoc