v1

latestOpenAPI 3.1.02026-07-2643416.7 KB
submit

One-shot quote + submit

Equivalent to calling /quote then /submit. The taker address is required.

post/execute

Request body

chainIdinteger required
tokenInstring required

20-byte hex address. The sentinel 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE (or the zero address) signals the chain's native asset (ETH on Base) and is recognized in tokenIn/tokenOut.

tokenOutstring required

20-byte hex address. The sentinel 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE (or the zero address) signals the chain's native asset (ETH on Base) and is recognized in tokenIn/tokenOut.

amountInstring required

Non-negative integer encoded as a decimal string (wei).

slippageBpsinteger required
userstring required

20-byte hex address. The sentinel 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE (or the zero address) signals the chain's native asset (ETH on Base) and is recognized in tokenIn/tokenOut.

maxHopsinteger
splitEnabledboolean
enforcePoolDisjointboolean
allowedDexesDexId[]
feeBpsinteger
useNativeInboolean
unwrapNativeOutboolean

Response

Quote + transaction payload

quoteIdstring required
chainIdinteger required
tostring required

20-byte hex address. The sentinel 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE (or the zero address) signals the chain's native asset (ETH on Base) and is recognized in tokenIn/tokenOut.

datastring required

Hex-encoded bytes.

valuestring required

Non-negative integer encoded as a decimal string (wei).

expiresAtinteger required
All 4 operations