Quote a Definitive Flash swap (Solana only)

​

Read-only quote plus signing payloads. The Flash integrator key is injected server-side. Solana same-chain only; EVM-only fields are stripped.

Body·

required
application/json

Flash quote terms

  • Positive decimal string in the spent asset's units

  • Integer numbers.

  • values
    marketlimittwapstopstop-losstake-profit

Responses

  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for post/api/flash/quote
curl https://api.musebook.trade/api/flash/quote \
  --request POST \
  --header 'Content-Type: application/json' \
  --data '{
  "targetChain": "solana",
  "contraChain": "solana",
  "side": "buy",
  "qty": "",
  "orderType": "market",
  "funderAddress": "",
  "maxSlippage": "",
  "maxPriceImpact": "",
  "limitNotionalPrice": "",
  "limitCrossPrice": "",
  "triggers": [
    {}
  ],
  "durationSeconds": 1,
  "expireTime": "",
  "additionalProperty": "anything"
}'
{
  "ok": true,
  "additionalProperty": "anything"
}