get_quote · Swap quote
read-onlySwap quotes from KyberSwap and other aggregators for tokenIn to tokenOut on Robinhood Chain. amountIn is in tokenIn's base units (an integer string: 100 USDG is "100000000"). A price check only: it does not trade and the prepare tools do not use it. Scope: only Ticker Spring's audited vaults, its agents' own vaults (follow vaults, not externally audited, holding the money in the audited vaults; the Hopper's, the USDG Lender's and the Morpho Lender's also in a USDG lending vault, not externally audited), limit orders and ladders on its Uniswap v4 hook, grid strategies, ladder strategies, baskets (bought and sold through its BasketZap, made through its BasketMaker) and swaps through KyberSwap on its swap router, on Robinhood Chain (chain id 4663), amounts in USDG (6 decimals).
Input schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"tokenIn": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "Token to sell."
},
"tokenOut": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "Token to buy."
},
"amountIn": {
"type": "string",
"pattern": "^[1-9][0-9]{0,77}$",
"description": "Amount of tokenIn in base units (integer string)."
}
},
"required": [
"tokenIn",
"tokenOut",
"amountIn"
]
}