toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'tx_index': txIndex,
    'purpose': purpose,
    'script_hash': scriptHash,
    'redeemer_data_hash': redeemerDataHash,
    'unit_mem': unitMem,
    'unit_steps': unitSteps,
    'fee': fee,
    "datum_hash": datumHash
  };
}