POST
/
submit-intent
curl --request POST \
  --url https://quote-api.dflow.net/submit-intent \
  --header 'Content-Type: application/json' \
  --data '{
  "quoteResponse": {
    "expiry": {
      "slotsAfterOpen": 1
    },
    "feeBudget": 1,
    "inAmount": "<string>",
    "inputMint": "<string>",
    "lastValidBlockHeight": 1,
    "minOutAmount": "<string>",
    "openTransaction": "<string>",
    "otherAmountThreshold": "<string>",
    "outAmount": "<string>",
    "outputMint": "<string>",
    "platformFee": null,
    "priceImpactPct": "<string>",
    "slippageBps": 1
  },
  "signedOpenTransaction": "<string>"
}'
{
  "openTransactionSignature": "<string>",
  "orderAddress": "<string>",
  "programId": "<string>"
}

Body

application/json

Response

200
application/json

Declarative swap submitted successfully

The response is of type object.