Method Name
public/get_option_settlement_prices
public/get_option_settlement_prices
Get settlement prices by expiry for each currency
Parameters
currency
string
required
Currency for which to show expiries |
Response
id
string or integer
required
|
result
object
required
|
result.expiries
array of objects
required
List of expiry details |
result.expiries[].expiry_date
string
required
Expiry date in YYYYMMDD format |
result.expiries[].price
string or null
required
Settlement price will show None if not yet settled onchain |
result.expiries[].utc_expiry_sec
integer
required
UTC timestamp of expiry |
Example
{request_example_shell}
{request_example_javascript}
{request_example_python}
The above command returns JSON structured like this:
{response_example_json}