Docs
Launch App

Pangolin Overview

Introduction to Pangolin
Audits
Tokens & Governance
Official Links & Communities
Become a Partner
Support
Roadmap
Privacy Policy & Legal Notices

Guides

Swapping Tokens
Providing Liquidity
Managing Liquidity Positions
Withdrawing Liquidity
Earning Rewards
Understanding SAR

Developers

Contracts & Integration Reference
APIs
Bug Bounty
Token Listing
Create A Multisig
Honeycomb↗

PangoPerps

API fundamentals
Public Info API
User API
Trading API
Order Management
Liquidations
Assets/withdraw/settle PnL
Get Asset History
Get Current Holding
Get Withdrawal Nonce
Create Withdraw Request
Get Settle PnL Nonce
Request PnL Settlement
Get PnL Settlement History
Create Internal Transfer
Create Internal Transfer with Wallet Signature
Get Transfer Nonce
Get Internal Transfer History
Get Receiver Address
Get Receiver Events
Positions
Funding
PangoPerpsTrading APIAssets/withdraw/settle PnL

Get Current Holding

#Endpoint

GET /v1/client/holding

Mainnet: https://api.orderly.org/v1/client/holding

Testnet: https://testnet-api.orderly.org/v1/client/holding

Rate limit: 10 requests per 1 second.

Returns the current summary of tokens held by the authenticated account.

#Authentication

Send the signed-request headers.

  • orderly-timestamp — required; signed-request timestamp in milliseconds.
  • orderly-account-id — required; authenticated account ID.
  • orderly-key — required; public API key.
  • orderly-signature — required; signature generated for the request.

#Query parameter

all (boolean, optional) — pass true to include tokens with an empty balance; otherwise only tokens with a balance are returned.

#Response

HTTP 200 — application/json. success is a required boolean and data.holding is a required array. Each holding item includes:

  • updated_time (number, required) — Unix epoch time in milliseconds.
  • token (string, required).
  • holding, frozen, and pending_short (numbers, required).
  • isolated_margin and isolated_order_frozen (numbers, optional).

The root timestamp is the server response time in milliseconds (integer).

text
{
  "success": true,
  "data": {
    "holding": [{
      "updated_time": 1580794149000,
      "token": "USDT",
      "holding": 282485.071904,
      "frozen": 0,
      "pending_short": -2000,
      "isolated_margin": 0,
      "isolated_order_frozen": 0
    }]
  },
  "timestamp": 1702989203989
}
PreviousGet Asset HistoryNext Get Withdrawal Nonce

On this page

  • Endpoint
  • Authentication
  • Query parameter
  • Response

Try it on Pangolin

Everything in these docs is live in the app.

SwapLiquidityStakePerps

Need help?

DiscordTelegramX