Skip to main content
POST
Submit a taker-signed transaction for the market maker to fill

Authorizations

x-api-key
string
header
required

Body

application/json
requestId
string
required

requestId from the order response, unchanged

Example:

"629bddf3-0038-43a6-8956-f5433d6b1191"

quoteId
string
required

quoteId from the order response, unchanged

Example:

"59db3e19-c7b0-4753-a8aa-206701004498"

transaction
string
required

The order's transaction, signed by the taker and re-encoded as base64. Sign the transaction as-is: rebuilding it, reordering instructions, or changing amounts invalidates it

Response

Swap processed. Check state in the body, not just the HTTP status

quoteId
string
required

Echo of the quote ID

Example:

"59db3e19-c7b0-4753-a8aa-206701004498"

state
enum<string>
required

Outcome of the swap. confirmed: the swap landed on-chain (terminal). accepted: the market maker accepted and submitted the swap, on-chain confirmation is pending. Call /execute again with the same body to re-check. rejected: the market maker declined to fill. invalid: the transaction did not pass validation. failed: network error or timeout reaching the market maker

Available options:
confirmed,
accepted,
rejected,
invalid,
failed
Example:

"confirmed"

signature
string | null

Transaction signature, present once the fill is known