Quote

For calls, price is denominated in the base token (ie 0.13 WETH), and for puts price is in denominated in the quote token (USDC). The quote price is inclusive of the trading fee and is represented as a the total cost. To get the price per option, simply divide by the size. To get the quote w/o the fee, simply subtract the fee from the quote price.

GET/vaults/quote
Authorization
Query parameters
Response

Successful operation

Body
marketobject
quotenumber
Example: 0.2356
feenumber
Example: 0.003
Request
const response = await fetch('/vaults/quote?base=WETH&quote=USDC&expiration=03NOV23&strike=1800&type=P&size=4&direction=buy', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "market": {
    "vault": "pSV-WETH/USDCe-C",
    "strike": 2500,
    "expiration": "03NOV23",
    "size": 4,
    "direction": "buy"
  },
  "quote": 0.2356,
  "fee": 0.003
}

Last updated

Terms and Disclaimers

Privacy Policy