• Transaction dry-run

    Parameters

    • tx: `tx_${string}`

      transaction to execute

    • accountAddress: `ak_${string}`

      address that will be used to execute transaction

    • options: {
          combine?: boolean;
          onNode: Node;
          top?: number | `kh_${string}` | `mh_${string}`;
          txEvents?: boolean;
      }

      Options

      • Optionalcombine?: boolean

        Enables combining of similar requests to a single dry-run call

      • onNode: Node

        Node to use

      • Optionaltop?: number | `kh_${string}` | `mh_${string}`

        hash of block on which to make dry-run

      • OptionaltxEvents?: boolean

        collect and return on-chain tx events that would result from the call

    Returns Promise<{
        txEvents?: DryRunResults["txEvents"];
    } & DryRunResult>