Function getExecutionCostUsingNode

  • Calculates the cost of signed and not signed transaction execution using node

    Parameters

    • transaction: `tx_${string}`

      Transaction to calculate the cost of

    • node: Node

      Node to use

    • __namedParameters: {
          isMined?: boolean;
      } & {
          gasUsed?: number;
          innerTx?: "fee-payer" | "freeloader";
          isInitiator?: boolean;
          queryFee?: string;
      } = {}

    Returns Promise<bigint>

Generated using TypeDoc