What a deposit would do now.
Quotes what a deposit into the pool would do now: the swap it needs, the least of each token it may receive and what it costs. A quote is never signed; confirming an operation quotes again.
/v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}/zap-quotechainstringrequiredThe pool's chain by its slug, for example base.
solanaethereumbaserobinhoodbscarchyperevmprotocolstringrequiredThe protocol, for example uniswap.
variantstringrequiredThe protocol version or pool type, for example v3.
deploymentstringrequiredThe deployment of the variant on the chain.
poolKeystringrequiredThe pool's address, id or account within its deployment.
amountBaseUnitsThe deposit's amount of the pool's base token, in base units.
amountQuoteUnitsThe deposit's amount of the pool's quote token, in base units.
fundstringWhat the deposit is paid with: the two tokens, or all of it from the chain's native or stable coin.
tokensnativestablebalancestringon swaps part of the deposit so it fits the range; off deposits the amounts as given.
onoffrangestringrequiredThe whole price range, or the custom range of low and high.
fullcustomlowDecimalThe lower price of a custom range: one base token in the quote token.
highDecimalThe upper price of a custom range: one base token in the quote token.
strategystringHow a bin pool deposit spreads over its bins; a pool on ticks takes none.
spotcurvebid-askcustomweightsstringThe share of each bin of the range from the lowest bin up, 0 to 99; required by strategy=custom.
slippagestring | DecimalSlippage in percent, or auto for the default of the token's category.
speedstringHow fast the transaction should be included; a faster speed pays a higher priority fee.
standardfastturboSuccess.
paysTokenAmount[]requiredShow propertiesHide properties
TokenAmounttokenTokenRefrequiredA token on its chain, with the decimals of its base units.
Show propertiesHide properties
chainstringrequiredA chain by its slug.
solanaethereumbaserobinhoodbscarchyperevmaddressstring | nullrequiredThe contract or mint on its chain; null for the native coin.
Show propertiesHide properties
stringnullsymbolstringrequiredThe ticker the token gives itself.
namestringrequiredThe name the token gives itself.
logostring | nullrequiredThe logo on INVICTUS's CDN, or null when there is none.
Show propertiesHide properties
stringnulldecimalsintegerrequiredThe decimals its base units are read at.
unitsUnitsrequiredA token amount in base units, a uint256 as integer text; divide by 10^decimals of its token to show it.
valueUsdUsdValuerequiredA US-dollar figure, measured.
Show propertiesHide properties
statusstringrequiredCurrent and from a trusted read.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredOlder than its freshness bound; shown with its age.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredResting on one source, not yet confirmed.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
sourcestringrequiredThe source the value rests on.
statusstringrequiredTwo sources disagree; both values are given.
valuesany[]requiredThe two values that disagree, each with its source.
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredNo value; never shown as zero.
reasonstringrequiredWhy there is no value; it is never zero.
depositobjectrequiredShow propertiesHide properties
baseTokenAmountrequiredAn amount of a token in base units, and its worth in US dollars when known.
Show propertiesHide properties
tokenTokenRefrequiredA token on its chain, with the decimals of its base units.
Show propertiesHide properties
chainstringrequiredA chain by its slug.
solanaethereumbaserobinhoodbscarchyperevmaddressstring | nullrequiredThe contract or mint on its chain; null for the native coin.
Show propertiesHide properties
stringnullsymbolstringrequiredThe ticker the token gives itself.
namestringrequiredThe name the token gives itself.
logostring | nullrequiredThe logo on INVICTUS's CDN, or null when there is none.
Show propertiesHide properties
stringnulldecimalsintegerrequiredThe decimals its base units are read at.
unitsUnitsrequiredA token amount in base units, a uint256 as integer text; divide by 10^decimals of its token to show it.
valueUsdUsdValuerequiredA US-dollar figure, measured.
Show propertiesHide properties
statusstringrequiredCurrent and from a trusted read.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredOlder than its freshness bound; shown with its age.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredResting on one source, not yet confirmed.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
sourcestringrequiredThe source the value rests on.
statusstringrequiredTwo sources disagree; both values are given.
valuesany[]requiredThe two values that disagree, each with its source.
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredNo value; never shown as zero.
reasonstringrequiredWhy there is no value; it is never zero.
quoteTokenAmountrequiredAn amount of a token in base units, and its worth in US dollars when known.
Show propertiesHide properties
tokenTokenRefrequiredA token on its chain, with the decimals of its base units.
Show propertiesHide properties
chainstringrequiredA chain by its slug.
solanaethereumbaserobinhoodbscarchyperevmaddressstring | nullrequiredThe contract or mint on its chain; null for the native coin.
Show propertiesHide properties
stringnullsymbolstringrequiredThe ticker the token gives itself.
namestringrequiredThe name the token gives itself.
logostring | nullrequiredThe logo on INVICTUS's CDN, or null when there is none.
Show propertiesHide properties
stringnulldecimalsintegerrequiredThe decimals its base units are read at.
unitsUnitsrequiredA token amount in base units, a uint256 as integer text; divide by 10^decimals of its token to show it.
valueUsdUsdValuerequiredA US-dollar figure, measured.
Show propertiesHide properties
statusstringrequiredCurrent and from a trusted read.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredOlder than its freshness bound; shown with its age.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredResting on one source, not yet confirmed.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
sourcestringrequiredThe source the value rests on.
statusstringrequiredTwo sources disagree; both values are given.
valuesany[]requiredThe two values that disagree, each with its source.
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredNo value; never shown as zero.
reasonstringrequiredWhy there is no value; it is never zero.
shapestringrequiredwrapbooleanrequiredswapobject | nullrequiredShow propertiesHide properties
fromTokenAmountrequiredAn amount of a token in base units, and its worth in US dollars when known.
Show propertiesHide properties
tokenTokenRefrequiredA token on its chain, with the decimals of its base units.
Show propertiesHide properties
chainstringrequiredA chain by its slug.
solanaethereumbaserobinhoodbscarchyperevmaddressstring | nullrequiredThe contract or mint on its chain; null for the native coin.
Show propertiesHide properties
stringnullsymbolstringrequiredThe ticker the token gives itself.
namestringrequiredThe name the token gives itself.
logostring | nullrequiredThe logo on INVICTUS's CDN, or null when there is none.
Show propertiesHide properties
stringnulldecimalsintegerrequiredThe decimals its base units are read at.
unitsUnitsrequiredA token amount in base units, a uint256 as integer text; divide by 10^decimals of its token to show it.
valueUsdUsdValuerequiredA US-dollar figure, measured.
Show propertiesHide properties
statusstringrequiredCurrent and from a trusted read.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredOlder than its freshness bound; shown with its age.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredResting on one source, not yet confirmed.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
sourcestringrequiredThe source the value rests on.
statusstringrequiredTwo sources disagree; both values are given.
valuesany[]requiredThe two values that disagree, each with its source.
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredNo value; never shown as zero.
reasonstringrequiredWhy there is no value; it is never zero.
toTokenAmount[]requiredShow propertiesHide properties
TokenAmounttokenTokenRefrequiredA token on its chain, with the decimals of its base units.
Show propertiesHide properties
chainstringrequiredA chain by its slug.
solanaethereumbaserobinhoodbscarchyperevmaddressstring | nullrequiredThe contract or mint on its chain; null for the native coin.
Show propertiesHide properties
stringnullsymbolstringrequiredThe ticker the token gives itself.
namestringrequiredThe name the token gives itself.
logostring | nullrequiredThe logo on INVICTUS's CDN, or null when there is none.
Show propertiesHide properties
stringnulldecimalsintegerrequiredThe decimals its base units are read at.
unitsUnitsrequiredA token amount in base units, a uint256 as integer text; divide by 10^decimals of its token to show it.
valueUsdUsdValuerequiredA US-dollar figure, measured.
Show propertiesHide properties
statusstringrequiredCurrent and from a trusted read.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredOlder than its freshness bound; shown with its age.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredResting on one source, not yet confirmed.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
sourcestringrequiredThe source the value rests on.
statusstringrequiredTwo sources disagree; both values are given.
valuesany[]requiredThe two values that disagree, each with its source.
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredNo value; never shown as zero.
reasonstringrequiredWhy there is no value; it is never zero.
priceImpactPercentPercentValuerequiredAn unavailable impact blocks the deposit.
Show propertiesHide properties
statusstringrequiredCurrent and from a trusted read.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredOlder than its freshness bound; shown with its age.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredResting on one source, not yet confirmed.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
sourcestringrequiredThe source the value rests on.
statusstringrequiredTwo sources disagree; both values are given.
valuesany[]requiredThe two values that disagree, each with its source.
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredNo value; never shown as zero.
reasonstringrequiredWhy there is no value; it is never zero.
routesintegerrequiredsavedUsdUsdValuerequiredA US-dollar figure, measured.
Show propertiesHide properties
statusstringrequiredCurrent and from a trusted read.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredOlder than its freshness bound; shown with its age.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredResting on one source, not yet confirmed.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
sourcestringrequiredThe source the value rests on.
statusstringrequiredTwo sources disagree; both values are given.
valuesany[]requiredThe two values that disagree, each with its source.
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredNo value; never shown as zero.
reasonstringrequiredWhy there is no value; it is never zero.
routeobjectrequiredShow propertiesHide properties
sourcestringrequiredpooljupiterkyberswapuniswap0xlifivelorarelaymobulahopsobject[]requiredShow propertiesHide properties
objectprotocolstringrequiredvariantstringrequiredfromstringrequiredtostringrequiredsharePercentDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
comparedobject[]requiredShow propertiesHide properties
objectsourcestringrequiredpooljupiterkyberswapuniswap0xlifivelorarelaymobulareceivesUnits | nullrequiredShow propertiesHide properties
stringnullfeePercentDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
nullminimumobjectrequiredThe least of each token the deposit may receive at the slippage asked for, in base units.
Show propertiesHide properties
baseUnitsrequiredA token amount in base units, a uint256 as integer text; divide by 10^decimals of its token to show it.
quoteUnitsrequiredA token amount in base units, a uint256 as integer text; divide by 10^decimals of its token to show it.
slippagePercentDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
slippageAutobooleanrequiredcategorystringrequiredpeggedhighmidlowmicrofreshbinsinteger | nullrequiredShow propertiesHide properties
integernullfeesobjectrequiredShow propertiesHide properties
networkUsdUsdValuerequiredA US-dollar figure, measured.
Show propertiesHide properties
statusstringrequiredCurrent and from a trusted read.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredOlder than its freshness bound; shown with its age.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredResting on one source, not yet confirmed.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
sourcestringrequiredThe source the value rests on.
statusstringrequiredTwo sources disagree; both values are given.
valuesany[]requiredThe two values that disagree, each with its source.
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredNo value; never shown as zero.
reasonstringrequiredWhy there is no value; it is never zero.
transactionsintegerrequiredplatformFeePercentDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
platformFeeUsdUsdValuerequiredA US-dollar figure, measured.
Show propertiesHide properties
statusstringrequiredCurrent and from a trusted read.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredOlder than its freshness bound; shown with its age.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredResting on one source, not yet confirmed.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
sourcestringrequiredThe source the value rests on.
statusstringrequiredTwo sources disagree; both values are given.
valuesany[]requiredThe two values that disagree, each with its source.
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredNo value; never shown as zero.
reasonstringrequiredWhy there is no value; it is never zero.
platformDiscountUsdUsdValuerequiredA US-dollar figure, measured.
Show propertiesHide properties
statusstringrequiredCurrent and from a trusted read.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredOlder than its freshness bound; shown with its age.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredResting on one source, not yet confirmed.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
sourcestringrequiredThe source the value rests on.
statusstringrequiredTwo sources disagree; both values are given.
valuesany[]requiredThe two values that disagree, each with its source.
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredNo value; never shown as zero.
reasonstringrequiredWhy there is no value; it is never zero.
platformOpenUsdUsdValuerequiredA US-dollar figure, measured.
Show propertiesHide properties
statusstringrequiredCurrent and from a trusted read.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredOlder than its freshness bound; shown with its age.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredResting on one source, not yet confirmed.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
sourcestringrequiredThe source the value rests on.
statusstringrequiredTwo sources disagree; both values are given.
valuesany[]requiredThe two values that disagree, each with its source.
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredNo value; never shown as zero.
reasonstringrequiredWhy there is no value; it is never zero.
discountEndsAtinteger | nullrequiredShow propertiesHide properties
integernulltakenBystringrequiredWhich step takes the cost: the swap or the fee step.
swapfee-stepwarningsstring[]requiredexpiresAtintegerrequiredA point in time: Unix time in whole seconds, UTC.
asOfintegerrequiredA point in time: Unix time in whole seconds, UTC.
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.
Not found, or not yours.
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.
