public JsonResult ListOrder([FromBody] ListingHex listing)
        {
            bool valid = ListingEntry.TryParse(_rpc, _db, listing, out var result, out var error, true);


            //If we got a valid one, mark it as active, and save it to the db
            if (valid)
            {
                result.Active = true;
                //Listings can be updated if they use the same UTXO as a previously uploaded tx
                if (_db.Entry(result)?.State == EntityState.Detached)
                {
                    _db.Listings.Add(result);
                }
                _db.SaveChanges();
            }

            return(new JsonResult(new ListingResult(valid, result, error)));
        }
        public JsonResult QuickParse([FromBody] ListingHex listing)
        {
            bool valid = ListingEntry.TryParse(_rpc, _db, listing, out var result, out var error, false);

            return(new JsonResult(new ListingResult(valid, result, error)));
        }