Developer Integration Guidelines:

This guide helps the Engineer in the integration process, refer to the below link for dev integration

“npm install oddz-component-library” or “yarn add oddz-component-library”

Here’s the link for Dev integration - Oddz Components Library

API Document

Get Premium

/getPremium

/getPremium allows users on oddz protocol to get the price of chosen asset. Just ensure all request parameters are mandatory. Once get premium called, the below information is will available:

  • Option premium

  • Transaction fee

  • Implied Volatility(IV)

  • Implied Volatility(IV) decimal

Request Parameters

Buy Option

/buy

/buy allows users on oddz protocol to buy M number of CALL or PUT options for Asset ETH OR BTC for N number of days(minimum 7 days ) for a specific strike price.

Request Parameters

Buy Option Without Gas Fee

/buyWithGasless

/buyWithGasless allows oddz protocol users to purchase M number of CALL or PUT options for Asset ETH OR BTC for N number of days (minimum 7 days) at a specific strike price without paying any gas fee and return option Id.

Strategies

Oddz component also supports underlying strategies, Users can choose a specific strategy based on Market Sentiment (BULLISH, BEARISH, SIDEWAYS), Risk Factor (Low, Medium, High), and Duration they choose to hedge their positions.

Here’s a clear distribution of strategies for Oddz DEX: Distribution table

Last updated