GrpcBuilderAdapter class

Adapts GrpcCoreClient to the TransactionBuilderClient interface so the existing Transaction builder can resolve objects and Move function signatures over gRPC-web (enabling moveCall with object arguments).

Object resolution and Move-function lookup are fully implemented. Gas-coin selection and budget dry-run are intentionally left to GrpcTransactionExecutor (which sets gas explicitly and estimates the budget via simulateTransaction), so those interface methods are not used on the executor path.

Implemented types

Constructors

GrpcBuilderAdapter(GrpcCoreClient core)

Properties

core GrpcCoreClient
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dryRunTransaction<T>(T tx, {String? signerAddress}) Future<DryRunTransactionBlockResponse>
override
getCoins(String owner, {String? coinType, String? cursor, int? limit}) Future<PaginatedCoins>
override
getNormalizedMoveFunction(String package, String moduleName, String functionName) Future<SuiMoveNormalizedFunction>
override
getProtocolConfig([String? version]) Future
override
getReferenceGasPrice() Future<BigInt>
override
multiGetObjects(List<String> objectIds, {SuiObjectDataOptions? options}) Future<List<SuiObjectResponse>>
override
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