Tonconsole Docs
Ton APIREST API

Emulation

Open in Swagger UI

The Emulation methods provide tools for predicting the outcomes of blockchain transactions before they are executed. These tools allow for simulating transactions, offering insights into their results, including an almost precise estimate of network fees (with a small margin of error due to limitations in fully emulating a contract’s internal state).

Possible use cases

  • Predicting transaction outcomes to verify correctness before execution.
  • Estimating network fees for accurate cost calculation.
  • Enabling services to display transaction results to end users in advance.

Implementation Example

A detailed example of gasless transaction implementation is available in the Cookbook.

Operations

On this page