LogoLogo
  • 👋Introduction
  • Get Started
  • Sonic rGEMs Rewards Program
  • Chart Trader
  • Index Price
  • Vaults
    • RabbitX Liquidity Pool Vault
  • Funding Rate
  • Deposit / Withdrawal
  • Fiat Deposits
  • Binance Direct Deposit
  • Profit / Loss Calculation
  • Margin Calculation
  • Market Slippage Protection
  • Liquidations
  • RabbitX Quantower
  • Fees
    • API Fees
  • Frequently Asked Questions
  • Token
    • Explore $RBX
    • Contract Details
  • API Documentation
    • Introduction
    • Rate Limits
    • Generate Your API Keys
      • Signing with API Key
    • Public Endpoints
      • Market Info
      • Trades
      • Orderbook
      • Funding Rate
      • Candles
    • Private Endpoints
      • Account Operations
      • Authentication
      • Orders
      • Fills
      • Positions
      • Profile
      • Balance History
      • Deadman Switch
    • Websocket
      • Trades
      • Orderbook
      • Market Info
      • Account
    • Responses Data Structure
  • Twitter
  • Discord
  • Audit
  • Bug Bounty
  • Bug Bounty Postmortem Report
  • Terms of Use
Powered by GitBook
On this page
  1. API Documentation
  2. Private Endpoints

Balance History

Get balance history

Gets the account balance changes history.

GET /balanceops
Params:
{
    ops_type: 'deposit',       // (optional) 'deposit', 'withdraw', 'funding', 'pnl', 'fee'
    start_time: 1673668624000000     // (optional) timestamp in microseconds
    end_time: 1673668624000000       // (optional) timestamp in microseconds
    p_limit: 100, // max rows returned, max 1000
    p_page: 0, // pagination page, index begins at 0
    p_order: "DESC" // default "DESC" for descending and "ASC" for ascending
}
Example response

{
    "success": true,
    "error": "",
    "result": [
            {'amount': '-0.0178801',
             'id': '421887c4-ddfb-447d-a0bb-6d8ec006f651',
             'ops_id2': '421887c4-ddfb-447d-a0bb-6d8ec006f651',
             'ops_type': 'fee',
             'profile_id': 7615,
             'reason': '',
             'status': 'success',
             'timestamp': 1676648452088704,
             'txhash': '',
             'wallet': ''},
            {'amount': '-0.0178801',
             'id': 'dff2013a-6dae-4375-9cf7-09e54a2a47f7',
             'ops_id2': 'dff2013a-6dae-4375-9cf7-09e54a2a47f7',
             'ops_type': 'fee',
             'profile_id': 7615,
             'reason': '',
             'status': 'success',
             'timestamp': 1676648322405711,
             'txhash': '',
             'wallet': ''}
    ]
}
PreviousProfileNextDeadman Switch

Last updated 1 month ago