Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions fern/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,18 @@
"default": "false"
},
"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)."
},
{
"name": "wrapUnwrapMode",
"in": "query",
"required": false,
"schema": {
"anyOf": [
{ "not": {} },
{ "type": "string", "enum": ["direct", "settler"] }
]
},
"description": "Controls how native wrap/unwrap trades are executed. `direct` calls the wrapped-native token contract directly. `settler` routes wrap/unwrap through Settler or Allowance Holder for compatibility. Ignored for non-wrap/unwrap swaps. If omitted, `direct` mode is used."
}
],
"responses": {
Expand Down Expand Up @@ -977,6 +989,18 @@
"default": "false"
},
"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)."
},
{
"name": "wrapUnwrapMode",
"in": "query",
"required": false,
"schema": {
"anyOf": [
{ "not": {} },
{ "type": "string", "enum": ["direct", "settler"] }
]
},
"description": "Controls how native wrap/unwrap trades are executed. `direct` calls the wrapped-native token contract directly. `settler` routes wrap/unwrap through Settler or Allowance Holder for compatibility. Ignored for non-wrap/unwrap swaps. If omitted, `direct` mode is used."
}
],
"responses": {
Expand Down Expand Up @@ -1818,6 +1842,18 @@
"default": "false"
},
"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)."
},
{
"name": "wrapUnwrapMode",
"in": "query",
"required": false,
"schema": {
"anyOf": [
{ "not": {} },
{ "type": "string", "enum": ["direct", "settler"] }
]
},
"description": "Controls how native wrap/unwrap trades are executed. `direct` calls the wrapped-native token contract directly. `settler` routes wrap/unwrap through Settler or Allowance Holder for compatibility. Ignored for non-wrap/unwrap swaps. If omitted, `direct` mode is used."
}
],
"responses": {
Expand Down Expand Up @@ -2623,6 +2659,18 @@
"default": "false"
},
"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)."
},
{
"name": "wrapUnwrapMode",
"in": "query",
"required": false,
"schema": {
"anyOf": [
{ "not": {} },
{ "type": "string", "enum": ["direct", "settler"] }
]
},
"description": "Controls how native wrap/unwrap trades are executed. `direct` calls the wrapped-native token contract directly. `settler` routes wrap/unwrap through Settler or Allowance Holder for compatibility. Ignored for non-wrap/unwrap swaps. If omitted, `direct` mode is used."
}
],
"responses": {
Expand Down
Loading