During development, you can use the developer endpoints without an API key. For production use, you’ll need an API key to avoid rate limits.
/intent, sign the open
transaction, submit the intent, then monitor until it settles.
Request an Intent Quote
Request an intent quote from the DFlow Trading API. The
/intent response returns
an open order transaction that signals the trader’s intent to swap at a
guaranteed minimum quote with a slippage tolerance. This intent defines the
constraints (pair, amount, slippage, fees), not a fixed route.Request an Intent Quote
Request an Intent Quote
Sign the Intent
Sign the intent, guaranteeing the minimum amount of output tokens without committing to any given route plan.
Sign the Intent
Sign the Intent
Submit the Intent
Intents are submitted to the DFlow Aggregator, which optimizes the execution of the trade based on network conditions.
Submit the Intent
Submit the Intent
Monitor the Intent
After submitting the Intent, monitor its status using the
monitorOrder helper function from the
@dflow-protocol/swap-api-utils package.Monitor the Intent
Monitor the Intent