|
37 | 37 | "exclusiveMinimum": true, |
38 | 38 | "minimum": 0 |
39 | 39 | }, |
40 | | - "description": "Chain ID. See [here](https://0x.org/docs/developer-resources/supported-chains) for the list of supported chains", |
| 40 | + "description": "Chain ID. See [here](https://docs.0x.org/docs/introduction/supported-chains) for the list of supported chains", |
41 | 41 | "example": 1 |
42 | 42 | }, |
43 | 43 | { |
|
171 | 171 | "enum": ["true", "false"], |
172 | 172 | "default": "false" |
173 | 173 | }, |
174 | | - "description": "If set to `true`, the taker's entire `sellToken` balance will be sold during trade execution. The `sellAmount` should be the maximum estimated value, as close as possible to the actual taker's balance to ensure the best routing. Selling more than the `sellAmount` may cause the trade to revert. This feature is designed for cases where the precise sell amount is determined during execution. Learn more [here](https://0x.org/docs/0x-swap-api/advanced-topics/sell-entire-balance)." |
| 174 | + "description": "If set to `true`, the taker's entire `sellToken` balance will be sold during trade execution. The `sellAmount` should be the maximum estimated value, as close as possible to the actual taker's balance to ensure the best routing. Selling more than the `sellAmount` may cause the trade to revert. This feature is designed for cases where the precise sell amount is determined during execution. Learn more [here](https://docs.0x.org/docs/0x-swap-api/additional-topics/sell-entire-balance)." |
175 | 175 | } |
176 | 176 | ], |
177 | 177 | "responses": { |
|
423 | 423 | "invalidSourcesPassed": { |
424 | 424 | "type": "array", |
425 | 425 | "items": { "type": "string" }, |
426 | | - "description": "A list of invalid sources present in `excludedSources` request. See https://api.0x.org/sources?chainId= with the desired chain's ID for the list of valid sources" |
| 426 | + "description": "A list of invalid sources present in `excludedSources` request. See `https://api.0x.org/sources?chainId=` with the desired chain's ID for the list of valid sources" |
427 | 427 | } |
428 | 428 | }, |
429 | 429 | "required": [ |
|
842 | 842 | "exclusiveMinimum": true, |
843 | 843 | "minimum": 0 |
844 | 844 | }, |
845 | | - "description": "Chain ID. See [here](https://0x.org/docs/developer-resources/supported-chains) for the list of supported chains", |
| 845 | + "description": "Chain ID. See [here](https://docs.0x.org/docs/introduction/supported-chains) for the list of supported chains", |
846 | 846 | "example": 1 |
847 | 847 | }, |
848 | 848 | { |
|
965 | 965 | "in": "query", |
966 | 966 | "required": false, |
967 | 967 | "schema": { "type": "string" }, |
968 | | - "description": "Liquidity sources e.g. Uniswap_V3, SushiSwap, 0x_RFQ to exclude from the provided quote. See https://api.0x.org/sources?chainId=<chain_id> with the desired chain's ID for a full list of sources. Separate multiple sources with a comma" |
| 968 | + "description": "Liquidity sources e.g. Uniswap_V3, SushiSwap, 0x_RFQ to exclude from the provided quote. `See https://api.0x.org/sources?chainId=<chain_id>` with the desired chain's ID for a full list of sources. Separate multiple sources with a comma" |
969 | 969 | }, |
970 | 970 | { |
971 | 971 | "name": "sellEntireBalance", |
|
976 | 976 | "enum": ["true", "false"], |
977 | 977 | "default": "false" |
978 | 978 | }, |
979 | | - "description": "If set to `true`, the taker's entire `sellToken` balance will be sold during trade execution. The `sellAmount` should be the maximum estimated value, as close as possible to the actual taker's balance to ensure the best routing. Selling more than the `sellAmount` may cause the trade to revert. This feature is designed for cases where the precise sell amount is determined during execution. Learn more [here](https://0x.org/docs/0x-swap-api/advanced-topics/sell-entire-balance)." |
| 979 | + "description": "If set to `true`, the taker's entire `sellToken` balance will be sold during trade execution. The `sellAmount` should be the maximum estimated value, as close as possible to the actual taker's balance to ensure the best routing. Selling more than the `sellAmount` may cause the trade to revert. This feature is designed for cases where the precise sell amount is determined during execution. Learn more [here](https://docs.0x.org/docs/0x-swap-api/additional-topics/sell-entire-balance)." |
980 | 980 | } |
981 | 981 | ], |
982 | 982 | "responses": { |
|
1206 | 1206 | "invalidSourcesPassed": { |
1207 | 1207 | "type": "array", |
1208 | 1208 | "items": { "type": "string" }, |
1209 | | - "description": "A list of invalid sources present in `excludedSources` request. See https://api.0x.org/sources?chainId= with the desired chain's ID for the list of valid sources" |
| 1209 | + "description": "A list of invalid sources present in `excludedSources` request. See `https://api.0x.org/sources?chainId=` with the desired chain's ID for the list of valid sources" |
1210 | 1210 | } |
1211 | 1211 | }, |
1212 | 1212 | "required": [ |
|
1683 | 1683 | "exclusiveMinimum": true, |
1684 | 1684 | "minimum": 0 |
1685 | 1685 | }, |
1686 | | - "description": "Chain ID. See [here](https://0x.org/docs/developer-resources/supported-chains) for the list of supported chains", |
| 1686 | + "description": "Chain ID. See [here](https://docs.0x.org/docs/introduction/supported-chains) for the list of supported chains", |
1687 | 1687 | "example": 1 |
1688 | 1688 | }, |
1689 | 1689 | { |
|
1817 | 1817 | "enum": ["true", "false"], |
1818 | 1818 | "default": "false" |
1819 | 1819 | }, |
1820 | | - "description": "If set to `true`, the taker's entire `sellToken` balance will be sold during trade execution. The `sellAmount` should be the maximum estimated value, as close as possible to the actual taker's balance to ensure the best routing. Selling more than the `sellAmount` may cause the trade to revert. This feature is designed for cases where the precise sell amount is determined during execution. Learn more [here](https://0x.org/docs/0x-swap-api/advanced-topics/sell-entire-balance)." |
| 1820 | + "description": "If set to `true`, the taker's entire `sellToken` balance will be sold during trade execution. The `sellAmount` should be the maximum estimated value, as close as possible to the actual taker's balance to ensure the best routing. Selling more than the `sellAmount` may cause the trade to revert. This feature is designed for cases where the precise sell amount is determined during execution. Learn more [here](https://docs.0x.org/docs/0x-swap-api/additional-topics/sell-entire-balance)." |
1821 | 1821 | } |
1822 | 1822 | ], |
1823 | 1823 | "responses": { |
|
2069 | 2069 | "invalidSourcesPassed": { |
2070 | 2070 | "type": "array", |
2071 | 2071 | "items": { "type": "string" }, |
2072 | | - "description": "A list of invalid sources present in `excludedSources` request. See https://api.0x.org/sources?chainId= with the desired chain's ID for the list of valid sources" |
| 2072 | + "description": "A list of invalid sources present in `excludedSources` request. See `https://api.0x.org/sources?chainId=` with the desired chain's ID for the list of valid sources" |
2073 | 2073 | } |
2074 | 2074 | }, |
2075 | 2075 | "required": [ |
|
2488 | 2488 | "exclusiveMinimum": true, |
2489 | 2489 | "minimum": 0 |
2490 | 2490 | }, |
2491 | | - "description": "Chain ID. See [here](https://0x.org/docs/developer-resources/supported-chains) for the list of supported chains", |
| 2491 | + "description": "Chain ID. See [here](https://docs.0x.org/docs/introduction/supported-chains) for the list of supported chains", |
2492 | 2492 | "example": 1 |
2493 | 2493 | }, |
2494 | 2494 | { |
|
2611 | 2611 | "in": "query", |
2612 | 2612 | "required": false, |
2613 | 2613 | "schema": { "type": "string" }, |
2614 | | - "description": "Liquidity sources e.g. Uniswap_V3, SushiSwap, 0x_RFQ to exclude from the provided quote. See https://api.0x.org/sources?chainId=<chain_id> with the desired chain's ID for a full list of sources. Separate multiple sources with a comma" |
| 2614 | + "description": "Liquidity sources e.g. Uniswap_V3, SushiSwap, 0x_RFQ to exclude from the provided quote. `See https://api.0x.org/sources?chainId=<chain_id>` with the desired chain's ID for a full list of sources. Separate multiple sources with a comma" |
2615 | 2615 | }, |
2616 | 2616 | { |
2617 | 2617 | "name": "sellEntireBalance", |
|
2622 | 2622 | "enum": ["true", "false"], |
2623 | 2623 | "default": "false" |
2624 | 2624 | }, |
2625 | | - "description": "If set to `true`, the taker's entire `sellToken` balance will be sold during trade execution. The `sellAmount` should be the maximum estimated value, as close as possible to the actual taker's balance to ensure the best routing. Selling more than the `sellAmount` may cause the trade to revert. This feature is designed for cases where the precise sell amount is determined during execution. Learn more [here](https://0x.org/docs/0x-swap-api/advanced-topics/sell-entire-balance)." |
| 2625 | + "description": "If set to `true`, the taker's entire `sellToken` balance will be sold during trade execution. The `sellAmount` should be the maximum estimated value, as close as possible to the actual taker's balance to ensure the best routing. Selling more than the `sellAmount` may cause the trade to revert. This feature is designed for cases where the precise sell amount is determined during execution. Learn more [here](https://docs.0x.org/docs/0x-swap-api/additional-topics/sell-entire-balance)." |
2626 | 2626 | } |
2627 | 2627 | ], |
2628 | 2628 | "responses": { |
|
2852 | 2852 | "invalidSourcesPassed": { |
2853 | 2853 | "type": "array", |
2854 | 2854 | "items": { "type": "string" }, |
2855 | | - "description": "A list of invalid sources present in `excludedSources` request. See https://api.0x.org/sources?chainId= with the desired chain's ID for the list of valid sources" |
| 2855 | + "description": "A list of invalid sources present in `excludedSources` request. See `https://api.0x.org/sources?chainId=` with the desired chain's ID for the list of valid sources" |
2856 | 2856 | } |
2857 | 2857 | }, |
2858 | 2858 | "required": [ |
|
3533 | 3533 | "exclusiveMinimum": true, |
3534 | 3534 | "minimum": 0 |
3535 | 3535 | }, |
3536 | | - "description": "Chain ID. See [here](https://0x.org/docs/developer-resources/supported-chains) for the list of supported chains", |
| 3536 | + "description": "Chain ID. See [here](https://docs.0x.org/docs/introduction/supported-chains) for the list of supported chains", |
3537 | 3537 | "example": 1 |
3538 | 3538 | }, |
3539 | 3539 | { |
|
3637 | 3637 | "in": "query", |
3638 | 3638 | "required": false, |
3639 | 3639 | "schema": { "type": "string" }, |
3640 | | - "description": "Liquidity sources e.g. Uniswap_V3, SushiSwap, 0x_RFQ to exclude from the provided quote. See https://api.0x.org/sources?chainId=<chain_id> with the desired chain's ID for a full list of sources. Separate multiple sources with a comma" |
| 3640 | + "description": "Liquidity sources e.g. Uniswap_V3, SushiSwap, 0x_RFQ to exclude from the provided quote. `See https://api.0x.org/sources?chainId=<chain_id>` with the desired chain's ID for a full list of sources. Separate multiple sources with a comma" |
3641 | 3641 | } |
3642 | 3642 | ], |
3643 | 3643 | "responses": { |
|
3868 | 3868 | "invalidSourcesPassed": { |
3869 | 3869 | "type": "array", |
3870 | 3870 | "items": { "type": "string" }, |
3871 | | - "description": "A list of invalid sources present in `excludedSources` request. See https://api.0x.org/sources?chainId= with the desired chain's ID for the list of valid sources" |
| 3871 | + "description": "A list of invalid sources present in `excludedSources` request. See `https://api.0x.org/sources?chainId=` with the desired chain's ID for the list of valid sources" |
3872 | 3872 | } |
3873 | 3873 | }, |
3874 | 3874 | "required": [ |
|
4290 | 4290 | "exclusiveMinimum": true, |
4291 | 4291 | "minimum": 0 |
4292 | 4292 | }, |
4293 | | - "description": "Chain ID. See [here](https://0x.org/docs/developer-resources/supported-chains) for the list of supported chains", |
| 4293 | + "description": "Chain ID. See [here](https://docs.0x.org/docs/introduction/supported-chains) for the list of supported chains", |
4294 | 4294 | "example": 1 |
4295 | 4295 | }, |
4296 | 4296 | { |
|
4394 | 4394 | "in": "query", |
4395 | 4395 | "required": false, |
4396 | 4396 | "schema": { "type": "string" }, |
4397 | | - "description": "Liquidity sources e.g. Uniswap_V3, SushiSwap, 0x_RFQ to exclude from the provided quote. See https://api.0x.org/sources?chainId=<chain_id> with the desired chain's ID for a full list of sources. Separate multiple sources with a comma" |
| 4397 | + "description": "Liquidity sources e.g. Uniswap_V3, SushiSwap, 0x_RFQ to exclude from the provided quote. See `https://api.0x.org/sources?chainId=<chain_id>` with the desired chain's ID for a full list of sources. Separate multiple sources with a comma" |
4398 | 4398 | } |
4399 | 4399 | ], |
4400 | 4400 | "responses": { |
|
4709 | 4709 | "invalidSourcesPassed": { |
4710 | 4710 | "type": "array", |
4711 | 4711 | "items": { "type": "string" }, |
4712 | | - "description": "A list of invalid sources present in `excludedSources` request. See https://api.0x.org/sources?chainId= with the desired chain's ID for the list of valid sources" |
| 4712 | + "description": "A list of invalid sources present in `excludedSources` request. See `https://api.0x.org/sources?chainId=` with the desired chain's ID for the list of valid sources" |
4713 | 4713 | } |
4714 | 4714 | }, |
4715 | 4715 | "required": [ |
|
5298 | 5298 | "type": "integer", |
5299 | 5299 | "exclusiveMinimum": true, |
5300 | 5300 | "minimum": 0, |
5301 | | - "description": "Chain ID. See [here](https://0x.org/docs/developer-resources/supported-chains) for the list of supported chains" |
| 5301 | + "description": "Chain ID. See [here](https://docs.0x.org/docs/introduction/supported-chains) for the list of supported chains" |
5302 | 5302 | }, |
5303 | 5303 | "approval": { |
5304 | 5304 | "type": "object", |
|
6015 | 6015 | "exclusiveMinimum": true, |
6016 | 6016 | "minimum": 0 |
6017 | 6017 | }, |
6018 | | - "description": " [here](https://0x.org/docs/next/developer-resources/supported-chains) for the list of supported chains", |
| 6018 | + "description": " [here](https://docs.0x.org/docs/introduction/supported-chains) for the list of supported chains", |
6019 | 6019 | "example": 8453 |
6020 | 6020 | }, |
6021 | 6021 | { |
|
6254 | 6254 | "exclusiveMinimum": true, |
6255 | 6255 | "minimum": 0 |
6256 | 6256 | }, |
6257 | | - "description": "Chain ID. See [here](https://0x.org/docs/developer-resources/supported-chains) for the list of supported chains", |
| 6257 | + "description": "Chain ID. See [here](https://docs.0x.org/docs/introduction/supported-chains) for the list of supported chains", |
6258 | 6258 | "example": 8453 |
6259 | 6259 | } |
6260 | 6260 | ], |
|
6434 | 6434 | "exclusiveMinimum": true, |
6435 | 6435 | "minimum": 0 |
6436 | 6436 | }, |
6437 | | - "description": "Chain ID. See [here](https://0x.org/docs/developer-resources/supported-chains) for the list of supported chains", |
| 6437 | + "description": "Chain ID. See [here](https://docs.0x.org/docs/introduction/supported-chains) for the list of supported chains", |
6438 | 6438 | "example": 1 |
6439 | 6439 | } |
6440 | 6440 | ], |
|
6518 | 6518 | "get": { |
6519 | 6519 | "operationId": "tradeAnalytics::swap", |
6520 | 6520 | "summary": "getSwapTrades", |
6521 | | - "description": "Get the list of completed swap trades. Returns a maximum of 200 trades per request. Visit [here](https://docs.0x.org/trade-analytics-api/introduction) for more details about how the API works.", |
| 6521 | + "description": "Get the list of completed swap trades. Returns a maximum of 200 trades per request. Visit [here](https://docs.0x.org/docs/trade-analytics-api/introduction) for more details about how the API works.", |
6522 | 6522 | "tags": ["Trade Analytics"], |
6523 | 6523 | "parameters": [ |
6524 | 6524 | { |
|
6844 | 6844 | "get": { |
6845 | 6845 | "operationId": "tradeAnalytics::gasless", |
6846 | 6846 | "summary": "getGaslessTrades", |
6847 | | - "description": "Get the list of completed gasless trades. Returns a maximum of 200 trades per request. Visit [here](https://docs.0x.org/trade-analytics-api/introduction) for more details about how the API works.", |
| 6847 | + "description": "Get the list of completed gasless trades. Returns a maximum of 200 trades per request. Visit [here](https://docs.0x.org/docs/trade-analytics-api/introduction) for more details about how the API works.", |
6848 | 6848 | "tags": ["Trade Analytics"], |
6849 | 6849 | "parameters": [ |
6850 | 6850 | { |
|
0 commit comments