ClearDAO FAQ
  • Getting Started
    • How it Works
    • Product
    • Roadmap
    • Team
    • ClearDAO Token
    • ClearDAO Token Bridge
    • Contact
  • Development Resources
    • SDK
      • ClearDAO Developer Guide
      • Deploy Contracts
        • Options and Notes
          • Quick Start
          • Configure Contract
          • Contract Upgrade
          • Contract Address
        • TRS
      • Configure Contract Parameters
      • Interact With Contracts
        • Options
        • Notes
        • TRS
        • CDS
          • README
          • CDS Buyer
          • Challenger
          • Liquidity Provider
          • Ticket
          • Ticket Market
          • Ticket Sale
          • Seller
      • Contract Reference
        • Oracle
        • Index Contract
        • Option Contract
        • Market Maker Contract
        • Note Contract
      • APIs
        • CDS
          • Config
          • Ticket
          • Ticket Sale
          • Transaction
          • CDS Market
          • Issue CDS
          • CDS Category
          • Ticket Market
        • Options and Notes
          • Configure
          • Price
          • User
          • Index
          • Option Parameter Configuration
          • Faucet
          • Market Maker
        • TRS
        • CLEARIndex
    • Barrier Options
    • NFT Marketplace
    • ClearIndex
  • Governance
    • CLH Staking Module
Powered by GitBook
On this page
  • Option Parameter Configuration
  • Brief description
  • Request URL
  • Method
  • Return example
  1. Development Resources
  2. SDK
  3. APIs
  4. Options and Notes

Option Parameter Configuration

Option Parameter Configuration

Brief description

  • Option parameter configuration

Request URL

  • /api/defi/option/config

Method

  • POST

Return example

{
  "code": 0,
  "data": {
    "note_user_rate": [
      "200",
      "2000",
      "2000",
      "2000"
    ],
    "option_user_rate": [
      "0",
      "0",
      "0",
      "0",
      "0"
    ],
    "option_sell_price_rate": 0.7,
    "maker_user_rate": null,
    "knockout_return": 0,
    "risk_free_rate": 0,
    "dividend_rate": 0,
    "nft_note_user_rate": null,
    "nft_option_user_rate": [
      "0",
      "0",
      "0",
      "0",
      "0"
    ],
    "nft_option_sell_price_rate": 0.7,
    "nft_maker_user_rate": null,
    "nft_knockout_return": 0,
    "nft_risk_free_rate": 0,
    "nft_dividend_rate": 0
  },
  "extra": null
}
PreviousIndexNextFaucet

Last updated 1 year ago