Submit a Delta Order

Submit Delta Order for Auction

POST https://api.paraswap.io/delta/orders

The Submit Delta Order for Auction endpoint allows you to submit a Delta order to be auctioned on Velora Delta. This enables decentralized and efficient execution of large token swaps through the Delta smart contract.

By sending a properly formatted request, you can specify order details such as the source and destination tokens, amounts, deadline, and additional parameters required for execution.

Use this endpoint to initiate a Delta auction order and optimize your trade execution on the Velora Delta network.

Request Body Params

Name
Type
Description

order*

Order

The built order to be submitted.

signature*

string

Signature of the order from order.owner address. EOA signatures must be submitted in ERC-2098 Compact Representation.

chainId*

string

Chain ID. (Mainnet - 1, Optimism - 10, BSC - 56, Polygon - 137, Fantom - 250, zkEVM - 1101, Base - 8453, Arbitrum - 42161, Avalanche - 43114, Gnosis - 100).

type

MARKET | LIMIT

Indicates order type. Defaults to MARKET. Used for filtering only

partiallyFillable

boolean

Allow the order to be filled in parts. Default: false

partner

string

Partner string.

includeAgents

string[]

List of agent names to include. If not provided, all the agents are included

excludeAgents

string[]

List of agent names to exclude. If not provided, none of the agents are excluded

referrerAddress

string

Referrer address

Example Responses:

The first example response indicates a successful order submission because it includes an id, orderHash, status, and other relevant order details. The status is "NOT_STARTED", meaning the order has been created but not yet processed.

The second response, { "error": "Validation failed with error" }, indicates a failed submission due to a validation issue, likely caused by missing or incorrect parameters in the request.

Last updated