Trade.mn API
About usContact us
  • API Doc
    • General API Information
    • API Key Setup
    • HTTP Return Codes
    • General Information on Endpoints
    • Endpoint security type
    • SIGNED (TRADE) Endpoint security
      • Timing security
    • Public API Endpoints
      • Terminology
      • ENUM definitions
      • General endpoints
      • Market Data endpoints
        • Order book (USER_DATA)
        • Recent trades list (USER_DATA)
      • Trading endpoints
        • New order (TRADE)
        • Cancel order (TRADE)
        • Current open orders (TRADE)
        • Trade history (TRADE)
      • Wallet endpoints
        • Wallet balance (WALLET)
        • Wallet balance by asset (WALLET)
    • Websocket (Socket.io)
    • Error Codes
    • Postman Collections
Powered by GitBook
On this page

Was this helpful?

  1. API Doc
  2. Public API Endpoints
  3. Wallet endpoints

Wallet balance (WALLET)

GET /api/v3/wallet/balance

Get all asset information and balance. (Хэтэвчний үлдэгдэл болон койны мэдээлэл)

Parameters:

Name
Type
Mandatory
Description

timestamp

LONG

YES

Response:

{
  "status": true,
  "code": "0000",
  "msg": [
    "Амжилттай"
  ],
  "data": {
    "acc": {
      "MAIN": {
        "walletCode": "SPOT",
        "transfer": 15999888.878080001,
        "assetAccs": [
          {
            "asset": "TRD",
            "free": "999879.61538",
            "freeze": "0",
            "locked": "110.9",
            "savings": "0",
            "freeTransfer": "5999277.69228",
            "freezeTransfer": "0",
            "lockedTransfer": "665.4",
            "savingsTransfer": "0",
            "isDeposit": true,
            "isWithdraw": true,
            "isTrade": true,
            "isSaving": true,
            "name": "Digital Exchange Coin"
          }
        ]
      }
    }
  }
}
PreviousWallet endpointsNextWallet balance by asset (WALLET)

Last updated 1 year ago

Was this helpful?