OMT Documents (EN)
Vietnamese
  • Open Meta Trade
  • Roadmap
  • Tokens
    • OMT
      • Supply
    • OLP
      • Rebalancing
    • USDCr
  • Exchange
    • Staking System
      • Escrowed OMT
      • Multiplier Point
    • Trading System
      • Leveraged Trading
        • Opening a Position
        • Managing Positions
        • Closing a Position
        • Stop-Loss / Take-Profit
        • Partial Liquidations
    • Referral System
    • Loyalty Program
  • Resources
    • API
    • Audit
    • Contracts
    • Brand Kit
    • Official Channels
Powered by GitBook
On this page
  • Tokens
  • Prices
  • Actions
  • Volume
  1. Resources

API

PreviousLoyalty ProgramNextAudit

Last updated 2 years ago

For contract interaction: (coming soon)

Base URL: (coming soon)

Tokens

  • URL: (coming soon)

  • Get a list of tokens and information on each token.

  • The value in USD is multiplied by (10 ** 30).

  • Token values are multiplied by 10 ** token.decimals).

Prices

The tokens endpoint will return the contract's current pricing, which are utilized for swaps and OLP minting / redeeming. To calculate the figures for opening and closing positions, the realtime median prices are used:

  • URL: (coming soon)

  • Get a list of tokens and information on each token.

  • Prices are multiplied by (10 ** 30)

Actions

  • URL: (coming soon)

  • Retrieve a list of actions, these will include swaps, increasing a position, decreasing a position, orders and liquidations

  • Params:

    • account (optional): pass in the checksum address of an account

    • after (optional): for pagination, the id to start after

  • To get the checksum address: , you can also use a library like

Volume

  • Hourly: (coming soon)

  • Daily: (coming soon)

  • Weekly: (coming soon)

  • Total: (coming soon)

  • Volumes are separated by action, token, day / week

  • Params:

    • after (optional): for pagination, the id to start after

https://web3-tools.netlify.app/
ethers