ADAOutput.fromJson constructor

ADAOutput.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ADAOutput.fromJson(Map<String, dynamic> json) {
  return ADAOutput(
    address: json['address'],
    amount: List<Map<String, dynamic>>.from(json['amount']),
    outputIndex: json['output_index'],
    dataHash: json['data_hash'],
    inlineDatum: json['inline_datum'],
    collateral: json['collateral'],
    referenceScriptHash: json['reference_script_hash'],
  );
}