pub fn parse_transaction(json: Value) -> Result<Transaction, HttpError>