- Orders come back from
POST /v2/delta/orders/buildas EIP-712 typed data ready to sign. You never composedomain,types, andvalueyourself. GET /v2/delta/pricesrecommends arouteand listsalternatives, so users can pick a different bridge or path.- Order history is paginated:
GET /v2/delta/ordersreturns{ data, total, page, limit, hasMore }. - A single
statusfield covers the whole lifecycle (PENDING,AWAITING_SIGNATURE,ACTIVE,SUSPENDED,CANCELLING,BRIDGING,COMPLETED,FAILED,EXPIRED,REFUNDING,CANCELLED,REFUNDED), replacing the V1 split betweenstatusandbridgeStatus. - Crosschain bridge refunds include a top-level
refunds[]array once Velora verifies the refund transaction receipt. Each item carriestx,chainId,token, and raw-unitamount. - Partner fees are resolved server-side. Pass
partner/partnerAddress/partnerFeeBpsraw; the server validates and encodes them, and thegetPartnerFeeround-trip disappears.
Lifecycle
1
Price
GET /v2/delta/prices — returns route, alternatives, and the spender contract address.2
Approve
ERC-20
approve(spender, amount) against price.spender, or sign Permit / Permit2 with the same verifyingContract. Native tokens skip this.3
Build
POST /v2/delta/orders/build — returns { toSign: { domain, types, value }, orderHash }.4
Sign
Sign
toSign with signTypedData on the user’s wallet.5
Submit
POST /v2/delta/orders — passes order: toSign.value and signature to the relayer.6
Poll
GET /v2/delta/orders/{orderId} until status === "COMPLETED" or a terminal status such as FAILED, EXPIRED, CANCELLED, or REFUNDED.Endpoints
SDK shortcut
Every endpoint is wrapped bysdk.delta.*, which handles signing, partner-fee defaults, and the build → sign → post orchestration. For a 5-minute walkthrough see SDK → Delta.
Related pages
- Why Delta — protocol overview.
- SDK → Delta — TypeScript examples.
- Migrating from Delta V1 — endpoint-by-endpoint guide from the V1 surface.