@circle-fin/usdckit - v0.18.0
    Preparing search index...

    Function FEE_LEVEL_WITH_PREPARE

    • Estimates the fee levels for a transfer and transfers the required amount to the from account.

      Parameters

      • params: { account: Account; confirmations?: number; level: "LOW" | "MEDIUM" | "HIGH" }
        • account: Account

          The account to transfer from.

        • Optionalconfirmations?: number

          The number of confirmations to wait for.

        • level: "LOW" | "MEDIUM" | "HIGH"

          The fee level to use for estimation.

      Returns (
          __namedParameters: EstimateFeesPerGasParams,
      ) => Promise<
          {
              gas: bigint;
              gasPrice?: undefined;
              maxFeePerBlobGas?: undefined;
              maxFeePerGas: bigint;
              maxPriorityFeePerGas: bigint;
          },
      >

      A function that prepares and estimates the fees.