Function txDryRun

  • 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

      • Optional combine?: boolean

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

      • onNode: Node

        Node to use

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

        hash of block on which to make dry-run

      • Optional txEvents?: boolean

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

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

Generated using TypeDoc