Skip to content

General parameter specification

bitstarcom edited this page Dec 5, 2017 · 7 revisions
  1. businessType

    • swap-btc-usd  btc to usd contracts
    • swap-eth-usd  eth to usd contracts
    • swap-etc-usd  etc to usd contracts
    • swap-ltc-usd  ltc to usd contracts
    • swap-bch-usd  bch to usd contracts
  2. currency

    • btc  
    • eth  
    • etc  
    • ltc
    • bch
  3. contractCode

    • swap-btc  
    • swap-eth  
    • swap-etc  
    • swap-ltc  
    • swap-bch
  4. tradeType

     1: Open long  2: Open short  3: Exit long  4: Exit short

  5. state

     0: unsettled, 1: Some clinch a deal, 2: Completed, 3: Some clinch a deal and revoked, 4: Uncomplete and revoked

Clone this wiki locally