Quotes
Path parameters
tokenAstring · enumRequiredExample:
The name/symbol of the first token (URL encoded).
CCPossible values: tokenBstring · enumRequiredExample:
The name/symbol of the second token (URL encoded).
USDCxPossible values: Query parameters
givingAmountnumber · doubleRequiredExample:
The amount of token A the user is giving
100Responses
200
Trade quote
application/json
user_getsnumber · doubleRequiredExample:
The amount of output token the user will receive.
49.5400
Invalid parameters or AMM not found
application/json
get
/quoteForFixedInput/{tokenA}/{tokenB}Path parameters
tokenAstring · enumRequiredExample:
The name/symbol of the first token (URL encoded).
CCPossible values: tokenBstring · enumRequiredExample:
The name/symbol of the second token (URL encoded).
USDCxPossible values: Query parameters
gettingAmountnumber · doubleRequiredExample:
The amount of token B the user wants to receive
50Responses
200
Trade quote
application/json
user_givesnumber · doubleRequiredExample:
The amount of input token the user must provide.
101400
Invalid parameters or AMM not found
application/json
get
/quoteForFixedOutput/{tokenA}/{tokenB}Last updated
Was this helpful?
