toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  'profile': profile,
  'semantics': hex.encode(bytes),
  'inputSigHash': inputSigHash,
  'inputCount': inputCount,
  'parentIds': parentIds,
  'outputs': outputs.map((output) => output.toJson()).toList(),
  'minerFee': minerFee.toString(),
  'byteLength': bytes.length,
};