Transport-agnostic Sui client contract
gRPC is the default; only it supports executeTransaction and
verifyZkLoginSignature (GraphQL throws UnsupportedError). Use GraphQL
for read-only workloads against an indexer.
- Implementers
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
-
defaultNameServiceName(
String address) → Future< String?> -
executeTransaction(
Uint8List transactionBytes, List< String> signatures, {TransactionIncludeOptions? include}) → Future<TransactionResponse> -
getAllBalances(
String address) → Future< List< Balance> > -
Aggregate balances for every coin type
addressholds, paged through to the full set. -
getBalance(
String address, {String coinType = '0x2::sui::SUI'}) → Future< Balance> -
Aggregate balance of
coinTypeforaddress. -
getChainIdentifier(
) → Future< String> -
getCoinMetadata(
String coinType) → Future< CoinMetadata?> -
Coin metadata for
coinType, or null when unregistered. -
getCoins(
String address, {String coinType = '0x2::sui::SUI', String? cursor, int? limit}) → Future< Page< CoinData> > -
Coin objects of
coinTypeowned byaddress. -
getCurrentSystemState(
) → Future< SystemState> -
getDynamicFields(
String parentId, {String? cursor, int? limit}) → Future< Page< DynamicFieldEntry> > -
getMoveFunction(
String packageId, String moduleName, String functionName) → Future< MoveFunction> -
getObjects(
List< String> objectIds, {ObjectIncludeOptions? include}) → Future<List< ObjectResult> > - Batched object reads: one entry per input id, in the same order.
-
getOwnedObjects(
String address, {String? type, String? cursor, int? limit, ObjectIncludeOptions? include}) → Future< Page< ObjectData> > -
Objects owned by
address, optionally filtered by movetype. -
getReferenceGasPrice(
) → Future< String> -
getTransaction(
String digest, {TransactionIncludeOptions? include}) → Future< TransactionResponse> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
simulateTransaction(
Transaction transactionBlock, {TransactionIncludeOptions? include, bool? doGasSelection, bool? checksEnabled}) → Future< TransactionResponse> -
Simulates
transactionBlockwithout signing; results surface via effects, events, and command outputs. -
toString(
) → String -
A string representation of this object.
inherited
-
verifyZkLoginSignature(
Uint8List bytes, String signature, {String? address}) → Future< VerifySignatureResult>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited