@@ -285,7 +285,7 @@ Deposit funds to the relayer to execute the swap. Used when the Relay solver hol
285285 "gas" : 21064
286286 },
287287 "check" : {
288- "endpoint" : " /intents/status?requestId=0x341b28c6467bfbffb72ad78ec5ddf1f77b8f9c79be134223e3248a7d4fcd43b6" ,
288+ "endpoint" : " /intents/status/v3 ?requestId=0x341b28c6467bfbffb72ad78ec5ddf1f77b8f9c79be134223e3248a7d4fcd43b6" ,
289289 "method" : " GET"
290290 }
291291 }
@@ -318,7 +318,7 @@ An approval transaction to approve the transfer of an ERC20 token. Always follow
318318 "maxPriorityFeePerGas" : " 1009381"
319319 },
320320 "check" : {
321- "endpoint" : " /intents/status?requestId=0x..." ,
321+ "endpoint" : " /intents/status/v3 ?requestId=0x..." ,
322322 "method" : " GET"
323323 }
324324 }
@@ -351,7 +351,7 @@ Send funds to a recipient on the same chain.
351351 "maxPriorityFeePerGas" : " 1009381"
352352 },
353353 "check" : {
354- "endpoint" : " /intents/status?requestId=0xec7244ebc6c9ce3a344f9eeb6c84df921b55e0c06b6cb25a49c167fbeafb7e1b" ,
354+ "endpoint" : " /intents/status/v3 ?requestId=0xec7244ebc6c9ce3a344f9eeb6c84df921b55e0c06b6cb25a49c167fbeafb7e1b" ,
355355 "method" : " GET"
356356 }
357357 }
@@ -471,7 +471,7 @@ The main flow for cross-chain permits. Uses Permit2 or TransferWithAuthorization
471471 }
472472 },
473473 "check" : {
474- "endpoint" : " /intents/status?requestId=0xfadc232794fbef5794f1e28b780c3d4ffd19df3f0f42f1e3b8f873abf11e79b2" ,
474+ "endpoint" : " /intents/status/v3 ?requestId=0xfadc232794fbef5794f1e28b780c3d4ffd19df3f0f42f1e3b8f873abf11e79b2" ,
475475 "method" : " GET"
476476 }
477477 }
@@ -565,7 +565,7 @@ Sign authorization for same-chain swap permits using PermitBatchWitnessTransferF
565565 }
566566 },
567567 "check" : {
568- "endpoint" : " /intents/status?requestId=0x4d1756eae7d23122047cbe2f11a749ca8275983e4d8757a8b44af9d1b829df39" ,
568+ "endpoint" : " /intents/status/v3 ?requestId=0x4d1756eae7d23122047cbe2f11a749ca8275983e4d8757a8b44af9d1b829df39" ,
569569 "method" : " GET"
570570 }
571571 }
@@ -601,7 +601,7 @@ Sign authorization for same-chain swap permits using PermitBatchWitnessTransferF
601601 "gas": 21064
602602 },
603603 "check": {
604- "endpoint": "/intents/status?requestId=0x341b28c6467bfbffb72ad78ec5ddf1f77b8f9c79be134223e3248a7d4fcd43b6",
604+ "endpoint": "/intents/status/v3 ?requestId=0x341b28c6467bfbffb72ad78ec5ddf1f77b8f9c79be134223e3248a7d4fcd43b6",
605605 "method": "GET"
606606 }
607607 }
@@ -636,21 +636,13 @@ Along with the step data there's an optional check object. You can use this obje
636636``` json
637637{
638638 "check" : {
639- "endpoint" : " /intents/status?requestId=0x341b28c6467bfbffb72ad78ec5ddf1f77b8f9c79be134223e3248a7d4fcd43b6" ,
639+ "endpoint" : " /intents/status/v3 ?requestId=0x341b28c6467bfbffb72ad78ec5ddf1f77b8f9c79be134223e3248a7d4fcd43b6" ,
640640 "method" : " GET"
641641 }
642642}
643643```
644644
645- The check api will always return a status, the expected statuses are as follows:
646-
647- | Status | Description |
648- | --------- | ----------------------------------------------- |
649- | ` waiting ` | Deposit tx for the request is yet to be indexed |
650- | ` pending ` | Deposit tx was indexed, now the fill is pending |
651- | ` success ` | Relay completed successfully |
652- | ` failure ` | Relay failed, attempting to refund |
653- | ` refund ` | Funds were refunded due to failure |
645+ The check api will always return a status, to get a full list of statuses, please refer to the [ Get Status] ( /references/api/get-intents-status-v3 ) API Reference.
654646
655647---
656648
0 commit comments