Function getExecutionCostBySignedTx

  • Calculates the cost of signed transaction execution

    Parameters

    • transaction: `tx_${string}`

      Transaction to calculate the cost of

    • networkId: string

      Network id used to sign the transaction

    • Optional options: Omit<undefined | {
          gasUsed?: number;
          innerTx?: "fee-payer" | "freeloader";
          isInitiator?: boolean;
          queryFee?: string;
      }, "innerTx">

      Options

    Returns bigint

Generated using TypeDoc