Submit a Definitive Flash order

​

Moves user funds, authorized by the funder's own Ed25519 signature over the quoted payload (userSignature + svmNonce + svmDeadline echoed from the quote). Market orders also require quoteId.

Body·

required
application/json

Flash order with funder signature

  • Funder's Ed25519 signature over the quoted payload

  • values
    marketlimittwapstopstop-losstake-profit
  • Required for market orders

Responses

  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for post/api/flash/order
curl https://api.musebook.trade/api/flash/order \
  --request POST \
  --header 'Content-Type: application/json' \
  --data '{
  "targetChain": "solana",
  "contraChain": "solana",
  "side": "buy",
  "qty": "",
  "orderType": "market",
  "funderAddress": "",
  "userSignature": "",
  "svmNonce": "",
  "svmDeadline": "",
  "quoteId": "",
  "additionalProperty": "anything"
}'
{
  "ok": true,
  "additionalProperty": "anything"
}