Skip to main content
POST
/
v3
/
order
Order
curl --request POST \
  --url https://api.bebop.xyz/pmm/{chain}/v3/order \
  --header 'Content-Type: application/json' \
  --data '
{
  "quote_id": "<string>",
  "signature": "<string>",
  "sign_scheme": "EIP712",
  "permit2": {
    "signature": "<string>",
    "approvals_deadline": 123,
    "token_addresses": [
      "<string>"
    ],
    "token_nonces": [
      123
    ]
  },
  "permit": {
    "signature": "<string>",
    "approvals_deadline": 123
  }
}
'
{
  "status": "<string>",
  "expiry": 123,
  "txHash": "<string>"
}

Body

application/json
quote_id
string
required

Id of the quote to use for the order

signature
string
required

Taker's signature produced from the toSign field in the quote

sign_scheme
string
default:EIP712

Sign scheme used to produce the signature

permit2
Permit2 · object

Permit2 info for taker

permit
Permit · object

Permit info for taker

Response

Successful Response

status
string
required
expiry
integer
required
txHash
string | null