Oddz
  • 🏁Getting Started
  • 🔢Learning the Basics
    • 🔄Options Jargon
    • ⚖️Call vs Put Options
    • ♈Option Greeks
    • 📊Option Strategies
    • 💰Black Scholes Pricing Model
  • 🛠️How does Oddz work?
  • 🎡What Oddz Offers?
    • Oddz Options v2
  • 🤝Oddz DEX Integration
    • Developer Integration Guidelines:
  • 💵Fee Collection and Distribution
  • ❓FAQs
Powered by GitBook
On this page
  • API Document
  • Get Premium
  • Buy Option
  • Buy Option Without Gas Fee
  • Strategies

Was this helpful?

  1. Oddz DEX Integration

Developer Integration Guidelines:

PreviousOddz DEX IntegrationNextFee Collection and Distribution

Last updated 3 years ago

Was this helpful?

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 -

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
Oddz Components Library