aptos/src/provider/methods/transaction/simulate_transaction library

Classes

AptosRequestSimulateTransaction
The output of the transaction will have the exact transaction outputs and events that runningan actual signed transaction would have. However, it will not have the associated statehashes, as they are not updated in storage. This can be used to estimate the maximum gasunits for a submitted transaction.To use this, you must: