factory TransactionInput.fromJson(Map<String, dynamic> json) { return TransactionInput( transactionId: TransactionHash.fromHex(json["transaction_id"]), index: json["index"]); }