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

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

      Options

    Returns Promise<bigint>

Generated using TypeDoc