v3
latestOpenAPI 3.1.02026-07-3173143.7 KBFlash
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.
Pass quoteId from the prior quote to lock pricing.
post/order
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"
}
]
}Response
Order submitted successfully
Example response
{
"orderId": "ord_xyz789"
}