Orders

Gets all open quotes. Any valid orders that are fillable and present in the orderbook for the given account (if specified), otherwise the address in the .env is used.

GET/account/orders
Authorization
Query parameters
Response

Successful operation

Body
base*string
quote*string
expiration*string
strike*number
type*enum
CP
side*enum
askbid
remainingSize*number
provider*string
taker*string
price*number
deadline*number
quoteIdstring
ts*number
Request
const response = await fetch('/account/orders', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
[
  {
    "base": "WETH",
    "quote": "USDC",
    "expiration": "03NOV23",
    "strike": 1700,
    "type": "P",
    "side": "bid",
    "remainingSize": 3,
    "provider": "0x3ba638...fb25e",
    "taker": "0x0000000000000000000000000000000000000000",
    "price": ".15",
    "deadline": 184,
    "quoteId": "0x3ba638...fb25e",
    "ts": 1698952534
  }
]

Last updated

Terms and Disclaimers

Privacy Policy