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
quoteResponse
object
required

The response from the quote endpoint

signedOpenTransaction
string
required

Base64-encoded intent opening transaction, signed by the user

Response

200
application/json
Declarative swap submitted successfully
openTransactionSignature
string
required

Base58-encoded open transaction signature

orderAddress
string
required

Base58-encoded order address

programId
string
required

Base58-encoded program ID of the program that facilitates the swap