GrpcBuilderAdapter class
Adapts GrpcCoreClient to the TransactionBuilderClient interface so the Transaction builder can resolve objects, Move function signatures and gas (via server-side resolveGasData) over gRPC-web.
- Implemented types
Constructors
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
-
resolveGasData(
TransactionBlockDataBuilder data) → Future< ResolvedGasData?> -
One-shot server-side gas resolution for a fully input-resolved
transaction: the server selects the gas coin and computes the budget
(gRPC
simulatewithdoGasSelection). Returns null when the transport does not support it (e.g. JSON-RPC); the builder then falls back to local coin selection + a budget dry-run.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited