Get a limit order quote

Get a quote for a limit order according to the provided configuration.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

The wallet address which will receive the token.

string
string
required

The quantity of tokens denominated in the token's base units. (For example, for an ERC20 token one token is 1x10^18 base units. For one USDC token one token is 1x10^6 base units.) This value must be greater than 0.

number
string
enum
required

The handling of the amount field. EXACT_INPUT means the requester will send the specified amount of input tokens and get a quote with a variable quantity of output tokens. EXACT_OUTPUT means the requester will receive the specified amount of output tokens and get a quote with a variable quantity of input tokens.

Allowed:
string
required

The token which will be sent, specified by its token address. For a list of supported tokens, see the FAQ.

string
required

The token which will be received, specified by its token address. For a list of supported tokens, see the FAQ.

number
enum
required

The unique ID of the blockchain. For a list of supported chains see the FAQ.

number
enum
required

The unique ID of the blockchain. For a list of supported chains see the FAQ.

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json