latestOpenAPI 3.1.12026-08-107910.9 KB

be934981453a

Orders

Submit Order

Submit a signed order for execution. The order must be signed with EIP-712 or EIP-1271 signature and include all required fields from the RFQ.

post/order

Query parameters

signaturestring required

Hex-encoded signature (0x-prefixed)

signature_type'EIP712' | 'EIP1271'

Signature type: EIP712 or EIP1271

Request body

benefactorstring required

Ethereum address that will pay for the order

beneficiarystring required

Ethereum address that will receive tokens

collateral_amountstring required

Collateral amount in wei (as string to avoid precision loss)

collateral_assetstring required

Ethereum address of the collateral token

expiryinteger required

Order expiry timestamp (Unix timestamp)

nonceinteger required

Unique nonce to prevent replay attacks

order_idstring required

RFQ ID from /rfq endpoint

order_type'MINT' | 'REDEEM' required

Order type: MINT or REDEEM

usde_amountstring required

USDe amount in wei

Example request

{
  "benefactor": "0xD97B2cb85F706e3E459F42816844cA3f8Ea88729",
  "beneficiary": "0x71aD9532857fD983A5b42282104393c4504aC26f",
  "collateral_amount": "10000000000",
  "collateral_asset": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
  "expiry": 1735689600,
  "nonce": 12345,
  "order_id": "RFQ-VHWOGWVRHXFTP",
  "order_type": "MINT",
  "usde_amount": "1000000000"
}

Response

Order submitted successfully

txstring required

Transaction hash of the submitted order

Example response

{
  "tx": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
}