Gets the compute units used in a transaction by simulating it.
The transaction to simulate.
The connection to use for the simulation.
The number of compute units used in the simulation, or undefined if the simulation failed.
Generated using TypeDoc
Gets the compute units used in a transaction by simulating it.