AptosQuickApiProviderHelper mixin

A helper mixin for interacting with the Aptos API through an AptosProvider.

Mixin applications

Properties

hashCode int
The hash code for this object.
no setterinherited
provider AptosProvider
The Aptos provider used to make API requests.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

accountIsActive(AptosAddress address) Future<bool>
Checks if an account is active based on the provided address. Returns true if the account exists, otherwise false.
callFunction<T>(AptosTransactionEntryFunction entry, {BigInt? ledgerVersion}) Future<List<T>>
Executes a view function from an Aptos module.
getAccountData(AptosAddress address) Future<AptosApiAccountData>
Retrieves account data for the given address.
getAccountSequence(AptosAddress address) Future<BigInt>
Retrieves the current sequence number for the specified address.
getChainId() Future<int>
Retrieves the chain ID of the current Aptos network.
getGasPrice() Future<BigInt>
Retrieves the current estimated gas price from the Aptos network.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
submitTransaction(AptosSignedTransaction transaction) Future<AptosApiPendingTransaction>
Submits a signed transaction to the Aptos network.
toString() String
A string representation of this object.
inherited

Operators

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