Order
curl --request POST \
--url https://api.bebop.xyz/jam/{chain}/v2/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>"
}API Reference
Order
Submit a signed order for gasless execution. Requires a valid quote ID and an EIP-712 signature from the taker. Bebop submits the transaction on-chain and covers gas fees.
POST
/
v2
/
order
Order
curl --request POST \
--url https://api.bebop.xyz/jam/{chain}/v2/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
Id of the quote to use for the order
Taker's signature produced from the toSign field in the quote
Sign scheme used to produce the signature
Permit2 info for taker
Show child attributes
Show child attributes
Permit info for taker
Show child attributes
Show child attributes
Was this page helpful?
⌘I