Simulation

Learn how to use the gas simulation.

This is the most advanced gas fee estimation feature, which can be accessed with /gas simulation. It allows you run a simulation of a transaction through any function of any contract on the Ethereum blockchain.

Select a contract & function

To get started, simply enter any ethereum contract. The bot will return information about the contract's functions, including their number, the notable ones and more. In addition to this, the bot will return a drop-down list of the contract's writable functions. Simply select the functions you would like to simulate.

Enter your inputs

Once you select a function, the bot will ask you to enter the required parameters. When done, confirm your inputs. Each field describes the parameter to enter, make sure to fill in the fields according to the bot indications. Once you've completed the form, just confirm.

Please note that the bot can only simulate writeable functions with up to five parameters.

Transaction simulation

The bot will return a complete simulation of the function's execution. The result includes the current gas price, the number of gas units used for the transaction and the estimated gas price paid. In addition, the bot returns the encoded date used for the simulated transaction. These data can be used to replicate the exact same transaction.

Please note that the use of encoded data is reserved for people who have mastered the basics of contract reading. If this is not your case, use apps like Metamask etc.

Last updated