Skip to main content
POST
Prepare a swap

Authorizations

x-api-key
string
header
required

Production API key beginning with o1_launch_.

Body

application/json
quote_id
string
required
Required string length: 16 - 8192
wallet
string
required
Pattern: ^0x[0-9a-fA-F]{40}$
Example:

"0x1111111111111111111111111111111111111111"

permit2_signature
string
Maximum string length: 2048
Pattern: ^0x(?:[0-9a-fA-F]{2})+$

Response

An unsigned swap transaction plan.

data
object
required
meta
object
required