SuiClientImpl class
Sui chain support: reads and transfers against a Sui GraphQL node. Signing goes through whatever WalletSigner is installed (WaaS today), never through this domain. Instances share the root client's state. NOTE: not yet thread-safe.
- Implemented types
Properties
Methods
-
availableNetworks(
) → List< SuiNetwork> -
Returns host GraphQL networks with resolved dashboard identity.
override
-
buildUnsignedTransaction(
SuiTxRequest request, [SuiNetwork? network]) → Future< String> -
Builds unsigned BCS transaction bytes as hex. Does not sign or broadcast.
override
-
configureNetworks(
List< SuiNetwork> networks) → void -
Sets host GraphQL endpoints. The first network is the default.
override
-
getBalance(
String address, [String coinType = "0x2::sui::SUI", SuiNetwork? network]) → Future< String> -
Returns the balance in base units, or MIST for native SUI.
override
-
getReferenceGasPrice(
[SuiNetwork? network]) → Future< String> -
Returns the current reference gas price.
override
-
getTransactionStatus(
String digest, [SuiNetwork? network]) → Future< SuiReceipt?> -
Returns execution status, or null if the transaction is not indexed.
override
-
install(
DynamicClient client) → void -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendTransaction(
SuiTxRequest request, [SuiNetwork? network]) → Future< String> -
Builds, signs, and broadcasts a native SUI transfer. Returns its digest.
override
-
signMessage(
String from, String message) → Future< String> -
Signs a message with WalletSigner. Does not call a chain endpoint.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited