Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace GetMetaConfig

Types of GetMetaConfig request

Index

Type aliases

Type aliases

ResponseBody

ResponseBody: { defaults: { candleSize: string; ticker: string }; networkId: number; opiumContracts: { Match: string; TokenMinter: string }; supportedTokens: { address: string; decimals: number; title: string } }

Type of GetMetaConfig response body

Object representing server configuration

Type declaration

  • defaults: { candleSize: string; ticker: string }

    Default values for UI

    • candleSize: string

      Default candle size for derivative and asset charts

    • ticker: string

      Default Ticker hash

  • networkId: number

    Current Ethereum network Id for the API

  • opiumContracts: { Match: string; TokenMinter: string }

    Names and addresses of Opium smart contracts on current Ethereum network

    • Match: string

      Address of Opium.Match smart contract

    • TokenMinter: string

      Address of Opium.TokenSpender smart contract

  • supportedTokens: { address: string; decimals: number; title: string }

    List of supported ERC20 tokens

    • address: string

      ERC20 Token address

    • decimals: number

      ERC20 Token decimals

    • title: string

      ERC20 Token name

Generated using TypeDoc