TransactionSimulate class

A class to handle all Simulate transaction operations.

Constructors

TransactionSimulate(AptosConfig config)
const

Properties

config → AptosConfig
The configuration settings for the Aptos client.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

multiAgent({required AnyRawTransaction transaction, PublicKey? signerPublicKey, List<PublicKey?>? secondarySignersPublicKeys, PublicKey? feePayerPublicKey, InputSimulateTransactionOptions? options}) → Future<List<UserTransactionResponse>>
Simulates a multi-agent transaction by generating a signed transaction and posting it to the Aptos full node.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
simple({required AnyRawTransaction transaction, PublicKey? signerPublicKey, PublicKey? feePayerPublicKey, InputSimulateTransactionOptions? options}) → Future<List<UserTransactionResponse>>
Simulates a transaction based on the provided parameters and returns the result. This function helps you understand the outcome of a transaction before executing it on the blockchain.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited