toBroadcastJson method

Map<String, dynamic> toBroadcastJson()

Implementation

Map<String, dynamic> toBroadcastJson() {
  final result = toMempoolJson();
  result.remove('messageToSign');
  result['signatures'] = encodeSignatures(signatures, propositionType);
  result['from'] = from?.map((e) => e.toJson()).toList();
  result['to'] = encodeTo(to);
  if (minting != null) {
    result['minting'] = minting;
  }
  return result;
}