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
Authorizations
Query parameters
basestringRequiredExample:
base token symbol (ie WETH)
WETHquotestringRequiredExample:
quote token symbol (ie USDC)
USDCexpirationstringRequiredExample:
option expiration (ie 03NOV23)
03NOV23strikenumberRequiredExample:
option strike (ie 1800)
1800typestringRequiredExample:
C or P
PPattern: ^C$|^P$sizenumberRequiredExample:
number of contracts (ie 4)
4directionstringRequiredExample:
direction of trade (buy or sell)
buyResponses
200
Successful operation
application/json
400
Invalid parameters supplied
application/json
401
Not authorized
application/json
get
/vaults/quoteGET /vaults/quote?base=WETH"e=USDC&expiration=03NOV23&strike=1800&type=P&size=4&direction=buy HTTP/1.1
Host:
x-apikey: YOUR_API_KEY
Accept: */*
{
"market": {
"vault": "pSV-WETH/USDCe-C",
"strike": 2500,
"expiration": "03NOV23",
"size": 4,
"direction": "buy"
},
"quote": 0.2356,
"fee": 0.003
}Last updated
Was this helpful?