LegacyNames extension
Source-compatibility bridge: exposes the legacy JsonRpcProvider /
SuiClient method NAMES on top of the new gRPC client so existing call
sites need minimal changes.
Return types are the new sui.rpc.v2 protobuf messages (not the old
freezed models); this smooths method-name churn but is not a byte-for-byte
drop-in. Prefer the native SuiGrpcClient / core API for new code.
Methods
-
dryRunTransactionBlock(
Uint8List transactionBcs) → Future< SimulateTransactionResponse> -
Available on SuiGrpcClient, provided by the LegacyNames extension
Legacy alias of simulateTransaction (olddryRunTransactionBlock). -
getCoinMetadata(
String coinType) → Future< GetCoinInfoResponse> -
Available on SuiGrpcClient, provided by the LegacyNames extension
Legacy alias of getCoinInfo-derived total supply. -
getOwnedObjects(
String address, {int? limit, Uint8List? cursor, String? objectType}) → Future< ListOwnedObjectsResponse> -
Available on SuiGrpcClient, provided by the LegacyNames extension
Legacy alias of listOwnedObjects. -
getReferenceGasPriceBigInt(
) → Future< BigInt> -
Available on SuiGrpcClient, provided by the LegacyNames extension
Legacy alias: oldgetReferenceGasPricereturned a BigInt. -
getTransactionBlock(
String digest, {List< String> ? readMask}) → Future<ExecutedTransaction> -
Available on SuiGrpcClient, provided by the LegacyNames extension
Legacy alias of getTransaction. -
multiGetObjectsSingle(
String objectId, {List< String> ? readMask}) → Future<Object> -
Available on SuiGrpcClient, provided by the LegacyNames extension
Legacy alias of getObjects / getObject. -
signAndExecuteTransactionBlock(
SuiAccount signer, Transaction transaction, {BigInt? gasBudget}) → Future< ExecutedTransaction> -
Available on SuiGrpcClient, provided by the LegacyNames extension
Legacy alias of signAndExecuteTransaction.