SuiService class abstract
Resolves Sui networks and performs chain I/O over gRPC. Implementations must reject invalid endpoints and gRPC UNIMPLEMENTED responses with: This is not a gRPC endpoint, make sure to use gRPC endpoint for your RPC. WalletSigner handles signing.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
broadcastTransaction(
String transaction, String signature, SuiNetwork network) → Future< String> - Submits base64 transaction bytes and a serialized signature. Returns the digest.
-
getBalance(
String address, String coinType, SuiNetwork network) → Future< String> - Returns the balance in base units as a decimal string.
-
getCoins(
String address, SuiNetwork network) → Future< List< SuiGasCoinCandidate> > - Returns native SUI gas coins. Balances must fit a signed 64-bit integer.
-
getNetworks(
List< NetworkData> networks, List<SuiNetwork> configuredNetworks) → List<SuiNetwork> - Combines dashboard identity with host gRPC endpoints. Never uses dashboard RPC URLs.
-
getReferenceGasPrice(
SuiNetwork network) → Future< String> - Returns the current reference gas price.
-
getTransactionStatus(
String digest, SuiNetwork network) → Future< SuiReceipt?> - Returns execution status, or null if the transaction is not indexed.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited