SPB Git

Repository Public

swap-quote-moved.json 1.3 KB 42 lines json

1{2  "source": "services/api/src/prepare-common.ts checkQuoteRef → QuoteMoved (status 409), body as server.ts serializes a UserError with data",3  "status": 409,4  "request": {5    "quote": {6      "id": "kyberswap:r1",7      "provider": "kyberswap",8      "amountOut": "25000000",9      "minAmountOut": "24875000",10      "quotedAt": 1795000000123,11      "fingerprint": "0db69f6ef364669969809b7d03eaf7ef"12    }13  },14  "body": {15    "error": "quote_moved",16    "message": "the price moved since the quote was shown: 24.8 USDC expected now, below the minimum of 24.875 USDC that was displayed. Nothing was prepared",17    "data": {18      "quoted": {19        "id": "kyberswap:r1",20        "provider": "kyberswap",21        "amountOut": "25000000",22        "amountOutDisplay": "25",23        "minAmountOut": "24875000",24        "minAmountOutDisplay": "24.875",25        "quotedAt": 179500000012326      },27      "fresh": {28        "provider": "kyberswap",29        "amountOut": "24800000",30        "amountOutDisplay": "24.8",31        "minAmountOut": "24676000",32        "minAmountOutDisplay": "24.676",33        "symbol": "USDC",34        "quotedAt": 1795000004000,35        "fingerprint": "4f38f2461723871189cde8f724aacedb"36      },37      "deviationBps": -80,38      "slippageBps": 5039    }40  }41}42
Files main
Menu

Theme