Submits a declarative swap transaction for processing
curl --request POST \
--url https://quote-api.dflow.net/submit-intent \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"quoteResponse": {
"feeBudget": 1,
"inAmount": "<string>",
"inputMint": "<string>",
"minOutAmount": "<string>",
"otherAmountThreshold": "<string>",
"outAmount": "<string>",
"outputMint": "<string>",
"priceImpactPct": "<string>",
"slippageBps": 1,
"lastValidBlockHeight": 1,
"openTransaction": "<string>",
"platformFee": {
"amount": "<string>",
"feeAccount": "<string>",
"feeBps": 1,
"segmenterFeeAmount": "<string>",
"segmenterFeePct": 1
}
},
"signedOpenTransaction": "<string>"
}
'{
"openTransactionSignature": "<string>",
"orderAddress": "<string>",
"programId": "<string>"
}Declarative
Submit Intent Swap
API reference for POST /submit-intent
POST
/
submit-intent
Submits a declarative swap transaction for processing
curl --request POST \
--url https://quote-api.dflow.net/submit-intent \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"quoteResponse": {
"feeBudget": 1,
"inAmount": "<string>",
"inputMint": "<string>",
"minOutAmount": "<string>",
"otherAmountThreshold": "<string>",
"outAmount": "<string>",
"outputMint": "<string>",
"priceImpactPct": "<string>",
"slippageBps": 1,
"lastValidBlockHeight": 1,
"openTransaction": "<string>",
"platformFee": {
"amount": "<string>",
"feeAccount": "<string>",
"feeBps": 1,
"segmenterFeeAmount": "<string>",
"segmenterFeePct": 1
}
},
"signedOpenTransaction": "<string>"
}
'{
"openTransactionSignature": "<string>",
"orderAddress": "<string>",
"programId": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://pond.dflow.net/llms.txt
Use this file to discover all available pages before exploring further.
Most builders use
GET /order, which returns a fully constructed transaction in one call. POST /submit-intent is the second step of the opt-in intent flow for builders who need stronger sandwich resistance on standard SPL pairs: pair it with GET /intent. Token-2022 mints (including Kalshi outcome tokens) are not supported on this flow; use GET /order for those.Authorizations
API key for authentication. Contact hello@dflow.net to obtain an API key.
Body
application/json
⌘I