ADAScriptInfoResponse.fromJson constructor

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

Implementation

factory ADAScriptInfoResponse.fromJson(Map<String, dynamic> json) {
  return ADAScriptInfoResponse(
    scriptHash: json['script_hash'],
    type: json['type'],
    serialisedSize: json['serialised_size'],
  );
}