getDynamicFieldObject method

Future<SuiObjectResponse> getDynamicFieldObject(
  1. String parentObjectId,
  2. String nameType,
  3. String nameValue
)

Implementation

Future<SuiObjectResponse> getDynamicFieldObject(
  String parentObjectId,
  String nameType,
  String nameValue
) async {
  final params = {"type": nameType, "value": nameValue};
  final data = await client.request('suix_getDynamicFieldObject', [parentObjectId, params]);
  return SuiObjectResponse.fromJson(data);
}