inspectV2TransactionSemantics method

  1. @override
Future<ScV2TransactionSemantics> inspectV2TransactionSemantics(
  1. Uint8List semanticBytes, {
  2. Iterable<String> changeAddresses = const [],
})
override

Implementation

@override
Future<ScV2TransactionSemantics> inspectV2TransactionSemantics(
  Uint8List semanticBytes, {
  Iterable<String> changeAddresses = const [],
}) async {
  final resultJson = await inspectV2TransactionSemanticsJson(
    json.encode({
      'semantics': hex.encode(semanticBytes),
      'changeAddresses': changeAddresses.toList(),
    }),
  );
  return ScV2TransactionSemantics.fromJson(_decodeResult(resultJson));
}