Submit an order
Submit a flash order for MEV-protected execution.
Signing requirement. The funder wallet must sign data returned by POST /quote before this call:
- EVM chains — sign the evm.orderTypedData payload (EIP-712); pass the 0x-prefixed hex signature as userSignature. Echo the typed data back as evmOrderTypedData. If the quote returned evm.permitTypedData, sign that too, echo it back as evmPermitTypedData, and pass the signature as evmPermitSignature.
- SVM (solana) — produce a 64-byte Ed25519 signature over svm.orderMessage; pass the base58 signature as userSignature. Also echo svm.nonce as svmNonce and svm.deadline as svmDeadline from the quote response. If svm.sponsoredDelegateTx is non-null, sign and echo it back as svmSponsoredDelegateTx — Definitive covers the network fee.
Attached brackets. If the quote carried attachedBracket, sign its chain block with the funder wallet — on EVM sign attachedBracket.evm.orderTypedData (EIP-712) and echo salt; on Solana produce a 64-byte Ed25519 signature over attachedBracket.svm.orderMessage and echo attachedBracket.svm.nonce as svmNonce — and submit the block with the same legs plus userSignature, deadline, and signedMaxFromAmount echoed from the quote (on EVM, also the permit echo pair when the quote returned attachedBracket.evm.permitTypedData; on Solana, execute attachedBracket.svm.delegateIx first unless it rode the sponsored transaction). The pair becomes a live order on the entry's first fill and sells what the entry received when a leg triggers; the entry stops filling at that point. The response carries the entry's orderId alone — the protective order gets its own id once it activates.
Pass quoteId from the prior quote to lock pricing. For cross-chain market orders, also pass recipientAddress and echo a non-null bridgeQuoteId from the quote response.
Request body
Example request
{
"targetChain": "ethereum",
"contraChain": "ethereum",
"targetAsset": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"contraAsset": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"side": "buy",
"qty": "1.5",
"orderType": "market",
"limitNotionalPrice": "4000",
"limitCrossPrice": "4000",
"funderAddress": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"flashIntegratorFeeBps": "10",
"erc8021AttributionCode": "acme",
"userSignature": "0x...",
"startTime": "2026-05-12T00:00:00Z",
"triggers": [
{
"notionalPrice": "1800",
"crossPrice": "1800"
}
],
"attachedBracket": {
"takeProfit": {
"notionalPrice": "1800"
},
"stopLoss": {
"notionalPrice": "1800"
}
}
}Response
Order submitted successfully
Example response
{
"orderId": "ord_xyz789",
"attachedBracket": {
"status": "pending_activation"
}
}