serialize method

  1. @Deprecated('Use toJson() instead')
String serialize()

Serializes to a JSON string (not BCS bytes), so an incomplete transaction can be passed around and finished elsewhere.

Implementation

@Deprecated('Use toJson() instead')
String serialize() {
  return jsonEncode(serializeV1TransactionData(_blockData.snapshot()));
}