Change settings by revision.
Changes some settings; null resets a field to its default. The revision must be the current one, or the answer is 409 stale_revision.
/v1/me/settingssessionAPI key · cookierequiredAn opaque, revocable INVICTUS session set by createSession.
Idempotency-KeystringrequiredA key the client makes per intended write; a repeat with the same key and body is answered as the first, never applied twice.
X-Telegram-UserstringWith the service credential: the linked Telegram user the call acts for.
application/jsonrevisionintegerrequiredThe revision the change was made on; a stale one is 409 stale_revision.
changesobjectrequiredThe settings to change; null resets one to its default.
Show propertiesHide properties
slippagePercentstring | Decimal | nullThe most a price may move against a deposit, zap or withdrawal before it is refused, in percent, or auto by the token's category.
Show propertiesHide properties
stringstringnullswapSlippagePercentstring | Decimal | nullThe same for a swap, in percent, or auto by the token's category.
Show propertiesHide properties
stringstringnullmaxSwapLossPercentDecimal | nullThe most a fallback route may pay below the best route when that one fails, in percent.
Show propertiesHide properties
stringnullpriceImpactPercentDecimal | nullThe most a trade may move the price before it is refused, in percent.
Show propertiesHide properties
stringnulldeadlineSecondsnumber | nullHow long a transaction may wait to be included before it is dropped, in seconds.
Show propertiesHide properties
numbernullabortOnTickDriftboolean | nullCall off a deposit when the pool's price leaves the tick it was quoted at before it lands.
Show propertiesHide properties
booleannullprioritystring | nullHow much is paid for a transaction to be included sooner.
Show propertiesHide properties
stringnullmaxGasUsdDecimal | string | nullThe network fee limit in US dollars; off for no limit, null to reset to the default.
Show propertiesHide properties
stringstringnullgasReserveobject | nullNative coin kept for gas per chain, in base units; null takes the server's value.
Show propertiesHide properties
objectnullnullautoWrapNativeboolean | nullWrap and unwrap the native coin when a pool needs the wrapped token.
Show propertiesHide properties
booleannullzapAutoBalanceboolean | nullSwap a deposit to the ratio the pool needs before adding liquidity.
Show propertiesHide properties
booleannullexitAssetstring | nullWhat a position is paid out in when it is closed.
Show propertiesHide properties
stringnullconfirmTransactionsboolean | nullShow each transaction for a last look before it is sent; the checks run either way.
Show propertiesHide properties
booleannulldisplayCurrencystring | nullThe fiat currency figures are shown in, as an ISO 4217 code.
Show propertiesHide properties
stringnullexplorersobject | nullThe block explorer chosen per chain; a chain left out uses its default.
Show propertiesHide properties
objectnullalertsobject | nullAccount-wide notifications to receive.
Show propertiesHide properties
outOfRangebooleanrequiredWhen a position leaves its range.
nearEdgebooleanrequiredWhen a position's price nears an end of its range.
feesReadybooleanrequiredWhen a position's fees are ready to collect.
transactionsbooleanrequiredWhen a transaction of the account is included or fails.
nullpairInversionsobject | nullPairs the user shows the other way round, by pair key.
Show propertiesHide properties
objectnullSuccess.
settingsSettingsrequiredThe account's settings, defaults filled in.
Show propertiesHide properties
slippagePercentstring | DecimalrequiredThe most a price may move against a deposit, zap or withdrawal before it is refused, in percent, or auto by the token's category.
Show propertiesHide properties
stringstringswapSlippagePercentstring | DecimalrequiredThe same for a swap, in percent, or auto by the token's category.
Show propertiesHide properties
stringstringmaxSwapLossPercentDecimalrequiredThe most a fallback route may pay below the best route when that one fails, in percent.
priceImpactPercentDecimalrequiredThe most a trade may move the price before it is refused, in percent.
deadlineSecondsnumberrequiredHow long a transaction may wait to be included before it is dropped, in seconds.
3060120300abortOnTickDriftbooleanrequiredCall off a deposit when the pool's price leaves the tick it was quoted at before it lands.
prioritystringrequiredHow much is paid for a transaction to be included sooner.
standardfastturbomaxGasUsdDecimal | nullrequiredThe most one transaction may cost in network fees, in US dollars; null for no limit.
Show propertiesHide properties
stringnullgasReserveobject | nullrequiredNative coin kept for gas per chain, in base units; null takes the server's value.
Show propertiesHide properties
objectnullautoWrapNativebooleanrequiredWrap and unwrap the native coin when a pool needs the wrapped token.
zapAutoBalancebooleanrequiredSwap a deposit to the ratio the pool needs before adding liquidity.
exitAssetstringrequiredWhat a position is paid out in when it is closed.
autonativestableconfirmTransactionsbooleanrequiredShow each transaction for a last look before it is sent; the checks run either way.
displayCurrencystringrequiredThe fiat currency figures are shown in, as an ISO 4217 code.
explorersobjectrequiredThe block explorer chosen per chain; a chain left out uses its default.
alertsobjectrequiredAccount-wide notifications to receive.
Show propertiesHide properties
outOfRangebooleanrequiredWhen a position leaves its range.
nearEdgebooleanrequiredWhen a position's price nears an end of its range.
feesReadybooleanrequiredWhen a position's fees are ready to collect.
transactionsbooleanrequiredWhen a transaction of the account is included or fails.
pairInversionsobjectrequiredPairs the user shows the other way round, by pair key.
defaultsSettingsrequiredEvery setting's default.
Show propertiesHide properties
slippagePercentstring | DecimalrequiredThe most a price may move against a deposit, zap or withdrawal before it is refused, in percent, or auto by the token's category.
Show propertiesHide properties
stringstringswapSlippagePercentstring | DecimalrequiredThe same for a swap, in percent, or auto by the token's category.
Show propertiesHide properties
stringstringmaxSwapLossPercentDecimalrequiredThe most a fallback route may pay below the best route when that one fails, in percent.
priceImpactPercentDecimalrequiredThe most a trade may move the price before it is refused, in percent.
deadlineSecondsnumberrequiredHow long a transaction may wait to be included before it is dropped, in seconds.
3060120300abortOnTickDriftbooleanrequiredCall off a deposit when the pool's price leaves the tick it was quoted at before it lands.
prioritystringrequiredHow much is paid for a transaction to be included sooner.
standardfastturbomaxGasUsdDecimal | nullrequiredThe most one transaction may cost in network fees, in US dollars; null for no limit.
Show propertiesHide properties
stringnullgasReserveobject | nullrequiredNative coin kept for gas per chain, in base units; null takes the server's value.
Show propertiesHide properties
objectnullautoWrapNativebooleanrequiredWrap and unwrap the native coin when a pool needs the wrapped token.
zapAutoBalancebooleanrequiredSwap a deposit to the ratio the pool needs before adding liquidity.
exitAssetstringrequiredWhat a position is paid out in when it is closed.
autonativestableconfirmTransactionsbooleanrequiredShow each transaction for a last look before it is sent; the checks run either way.
displayCurrencystringrequiredThe fiat currency figures are shown in, as an ISO 4217 code.
explorersobjectrequiredThe block explorer chosen per chain; a chain left out uses its default.
alertsobjectrequiredAccount-wide notifications to receive.
Show propertiesHide properties
outOfRangebooleanrequiredWhen a position leaves its range.
nearEdgebooleanrequiredWhen a position's price nears an end of its range.
feesReadybooleanrequiredWhen a position's fees are ready to collect.
transactionsbooleanrequiredWhen a transaction of the account is included or fails.
pairInversionsobjectrequiredPairs the user shows the other way round, by pair key.
boundsobjectrequiredPer setting, its allowed range or options.
revisionintegerrequiredThe revision to send with a change.
asOfintegerrequiredWhen this answer was read, in Unix seconds.
Invalid input; errors names the fields.
typestring<uri-reference>requiredA URI reference naming the problem type; about:blank when only the status says it.
titlestringrequiredA short summary of the problem type, the same for every occurrence.
statusintegerrequiredThe HTTP status code of this answer.
detailstringWhat went wrong this time, for a person to read.
instancestring<uri-reference>A URI reference of this occurrence, quoted to support.
codestringrequiredWhat a client branches on, stable across releases.
retryAfterSecondsintegerSeconds to wait before asking again, on 429 and 503; the Retry-After header agrees.
errorsobject[]The fields that were refused, on 400.
Show propertiesHide properties
objectfieldstringrequiredThe refused field, as a JSON path into the request.
codestringrequiredWhy it was refused, stable across releases.
messagestringThe reason, for a person to read.
No session, or it ended.
typestring<uri-reference>requiredA URI reference naming the problem type; about:blank when only the status says it.
titlestringrequiredA short summary of the problem type, the same for every occurrence.
statusintegerrequiredThe HTTP status code of this answer.
detailstringWhat went wrong this time, for a person to read.
instancestring<uri-reference>A URI reference of this occurrence, quoted to support.
codestringrequiredWhat a client branches on, stable across releases.
retryAfterSecondsintegerSeconds to wait before asking again, on 429 and 503; the Retry-After header agrees.
errorsobject[]The fields that were refused, on 400.
Show propertiesHide properties
objectfieldstringrequiredThe refused field, as a JSON path into the request.
codestringrequiredWhy it was refused, stable across releases.
messagestringThe reason, for a person to read.
Not allowed for this account.
typestring<uri-reference>requiredA URI reference naming the problem type; about:blank when only the status says it.
titlestringrequiredA short summary of the problem type, the same for every occurrence.
statusnumberrequireddetailstringWhat went wrong this time, for a person to read.
instancestring<uri-reference>A URI reference of this occurrence, quoted to support.
codestringrequiredretryAfterSecondsintegerSeconds to wait before asking again, on 429 and 503; the Retry-After header agrees.
errorsobject[]The fields that were refused, on 400.
Show propertiesHide properties
objectfieldstringrequiredThe refused field, as a JSON path into the request.
codestringrequiredWhy it was refused, stable across releases.
messagestringThe reason, for a person to read.
webPathstringrequiredThe path of the web origin where the same screen is.
In conflict with the current state.
typestring<uri-reference>requiredA URI reference naming the problem type; about:blank when only the status says it.
titlestringrequiredA short summary of the problem type, the same for every occurrence.
statusintegerrequiredThe HTTP status code of this answer.
detailstringWhat went wrong this time, for a person to read.
instancestring<uri-reference>A URI reference of this occurrence, quoted to support.
codestringrequiredWhat a client branches on, stable across releases.
retryAfterSecondsintegerSeconds to wait before asking again, on 429 and 503; the Retry-After header agrees.
errorsobject[]The fields that were refused, on 400.
Show propertiesHide properties
objectfieldstringrequiredThe refused field, as a JSON path into the request.
codestringrequiredWhy it was refused, stable across releases.
messagestringThe reason, for a person to read.
Too many requests; retryAfterSeconds says when to ask again.
typestring<uri-reference>requiredA URI reference naming the problem type; about:blank when only the status says it.
titlestringrequiredA short summary of the problem type, the same for every occurrence.
statusintegerrequiredThe HTTP status code of this answer.
detailstringWhat went wrong this time, for a person to read.
instancestring<uri-reference>A URI reference of this occurrence, quoted to support.
codestringrequiredWhat a client branches on, stable across releases.
retryAfterSecondsintegerSeconds to wait before asking again, on 429 and 503; the Retry-After header agrees.
errorsobject[]The fields that were refused, on 400.
Show propertiesHide properties
objectfieldstringrequiredThe refused field, as a JSON path into the request.
codestringrequiredWhy it was refused, stable across releases.
messagestringThe reason, for a person to read.
Server error.
typestring<uri-reference>requiredA URI reference naming the problem type; about:blank when only the status says it.
titlestringrequiredA short summary of the problem type, the same for every occurrence.
statusintegerrequiredThe HTTP status code of this answer.
detailstringWhat went wrong this time, for a person to read.
instancestring<uri-reference>A URI reference of this occurrence, quoted to support.
codestringrequiredWhat a client branches on, stable across releases.
retryAfterSecondsintegerSeconds to wait before asking again, on 429 and 503; the Retry-After header agrees.
errorsobject[]The fields that were refused, on 400.
Show propertiesHide properties
objectfieldstringrequiredThe refused field, as a JSON path into the request.
codestringrequiredWhy it was refused, stable across releases.
messagestringThe reason, for a person to read.
