GraphQLCoreClient class
GraphQL-backed SuiCoreClient. executeTransaction and
verifyZkLoginSignature throw UnsupportedError; use the gRPC transport
for those.
- Implemented types
Constructors
- GraphQLCoreClient(SuiGraphQLClient _client)
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?> -
override
-
executeTransaction(
Uint8List transactionBytes, List< String> signatures, {TransactionIncludeOptions? include}) → Future<TransactionResponse> -
override
-
getAllBalances(
String address) → Future< List< Balance> > -
Aggregate balances for every coin type
addressholds, paged through to the full set.override -
getBalance(
String address, {String coinType = '0x2::sui::SUI'}) → Future< Balance> -
Aggregate balance of
coinTypeforaddress.override -
getChainIdentifier(
) → Future< String> -
override
-
getCoinMetadata(
String coinType) → Future< CoinMetadata?> -
Coin metadata for
coinType, or null when unregistered.override -
getCoins(
String address, {String coinType = '0x2::sui::SUI', String? cursor, int? limit}) → Future< Page< CoinData> > -
Coin objects of
coinTypeowned byaddress.override -
getCurrentSystemState(
) → Future< SystemState> -
override
-
getDynamicFields(
String parentId, {String? cursor, int? limit}) → Future< Page< DynamicFieldEntry> > -
override
-
getMoveFunction(
String packageId, String moduleName, String functionName) → Future< MoveFunction> -
override
-
getObjects(
List< String> objectIds, {ObjectIncludeOptions? include}) → Future<List< ObjectResult> > -
Batched object reads: one entry per input id, in the same order.
override
-
getOwnedObjects(
String address, {String? type, String? cursor, int? limit, ObjectIncludeOptions? include}) → Future< Page< ObjectData> > -
Objects owned by
address, optionally filtered by movetype.override -
getReferenceGasPrice(
) → Future< String> -
override
-
getTransaction(
String digest, {TransactionIncludeOptions? include}) → Future< TransactionResponse> -
override
-
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.override -
toString(
) → String -
A string representation of this object.
inherited
-
verifyZkLoginSignature(
Uint8List bytes, String signature, {String? address}) → Future< VerifySignatureResult> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited