toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'address': address,
      'amount': amount,
      'output_index': outputIndex,
      'data_hash': dataHash,
      'inline_datum': inlineDatum,
      'collateral': collateral,
      'reference_script_hash': referenceScriptHash,
    };