toMempoolJson method

Map<String, dynamic> toMempoolJson()

Implementation

Map<String, dynamic> toMempoolJson() => {
      'id': id.toString(),
      'txType': txType,
      'fee': fee?.getInNanopoly.toString(),
      'timestamp': timestamp,
      'propositionType': propositionType.propositionName,
      'messageToSign': Base58Data(messageToSign ?? Uint8List(0)).show,
      'data': data?.show,
      'newBoxes': encodeBoxes(newBoxes),
      'boxesToRemove': boxesToRemove.map((e) => e.toString()).toList()
    };