LogoLogo
Join DiscordFollow on XBridge FundsLong $BERA
  • Doc Bros v1
    • Overview
    • Key Features
      • Speed & Liquidity is Key
      • Bropetual Markets
      • A Hub for Berachain DeFi
    • Proof-of-Liquidity
      • Reward Vault
    • Power of Points
    • Partners & Integrations
    • Campaigns
      • bro.trade Em Up
  • bullish bros
    • SuperBros NFT
  • Technicals
    • What is Proof-of-Liquidity?
    • One-Click Trading
    • Funding Rates
  • Liquidations & Insurance Fund
  • Vertex Edge Sequencer
  • Fees
  • PnL Settlements
  • Withdrawals
  • Pricing (Oracles)
  • links & resources
    • bro.trade Links
      • Website
      • Trade Bropetuals
      • Discord
      • X (Twitter)
      • Medium
      • Swap on OogaBooga
    • Berachain Links
      • Berachain.com
      • Official Bridge
      • BeraHub
      • Berascan
      • Bera Discord
      • Berachain X (Twitter)
      • Berachain Docs
    • FAQ
  • developer bros
    • API
      • Gateway
        • Executes
          • Place Order
          • Cancel Order
          • Cancel and Place
          • Cancel Product Order
          • Withdraw Colleteral
          • Transfer Quote
          • Liquidate Subaccount
          • Mint LP
          • Burn LP
          • Link Signer
        • Queries
          • All Products
          • Contracts
          • Fee Rates
          • Health Groups
          • Insurance
          • Linked Signer
          • Market Liquidity
          • Market Prices
          • Max Lp Mintable
          • Max Order Size
          • Max Withdrawable
          • Min Deposit Rates
          • Nonces
          • Order
          • Orders
          • Status
          • Subaccount Info
          • Symbols
        • Signing
          • Examples
          • Q A
      • Subscriptions
        • Authentication
        • Streams
        • Events
        • Rate Limits
      • Archive (indexer)
        • Candlesticks
        • Events
        • Funding Rate
        • Interest Funding Payments
        • Linked Signer Rate Limit
        • Liquidation Feed
        • Maker Statistics
        • Market Snapshots
        • Matches
        • Merkle Proofs
        • Oracle Price
        • Orders
        • Perp Prices
        • Product Snapshots
        • Rewards
        • Signatures
        • Subaccounts
        • Summary
        • HONEY Price
      • Trigger
        • Executes
          • Place Order
          • Cancel Orders
          • Cancel Product Orders
        • Queries
          • List Trigger Orders
      • V2
        • Apr
        • Assets
        • Contracts
        • Orderbook
        • Pairs
        • Tickers
        • Trades
      • Rate limits
      • Errors
      • Symbols
      • Depositing
      • Withdrawing (on-chain)
      • Integrate via Smart Contracts
      • Definitions / Formulas
    • On-Chain Contracts
Powered by GitBook
On this page
  • Rate limits
  • Request
  • Request Parameters
  • Response
  • Response Fields
  1. developer bros
  2. API
  3. Archive (indexer)

Subaccounts

PreviousSignaturesNextSummary

Last updated 2 months ago

Rate limits

  • 1200 requests/min or 200 requests/10secs per IP address. (weight = 2)

See more details in .

Request

Query subaccounts ordered by subaccount id ASC.

POST [ARCHIVE_ENDPOINT]

Body

{
  "subaccounts": {
    "start": 100,
    "limit": 10,
  }
}

Query all subaccounts associated to an address ordered by subaccount id ASC.

POST [ARCHIVE_ENDPOINT]

Body

{
  "subaccounts": {
    "address": "0x79CC76364b5Fb263A25bD52930E3d9788fCfEEA8"
  }
}

Request Parameters

Parameter
Type
Required
Description

start

string/number

No

Subaccount id to start from (used for pagination). Defaults to 0.

limit

string/number

No

Max number of subaccounts to return. Defaults to 100, max of 500.

address

string

No

An optional wallet address to find all subaccounts associated with it.

Response

{
    "subaccounts": [
        {
            "id": "100",
            "subaccount": "0xce4c01573f2a5f4db5d184b666ecfccb9313cc6564656661756c740000000000"
        },
        {
            "id": "101",
            "subaccount": "0xc34261edc2e028dbadf7e2c8d2486a2270e3789064656661756c740000000000"
        },
        {
            "id": "102",
            "subaccount": "0x00f10566dd219f4cfb787858b9909a468131dc0b64656661756c740000000000"
        },
        {
            "id": "103",
            "subaccount": "0x00f10566dd219f4cfb787858b9909a468131dc0b64656661756c743132330000"
        },
        {
            "id": "104",
            "subaccount": "0x334a5976039ee933e95d8ba45914d61138ebdaa164656661756c740000000000"
        },
        {
            "id": "105",
            "subaccount": "0x83894ea0b626d5b5a2e23f287454f002d2d59c6d6d61696e5f6d6d5f31000000"
        },
        {
            "id": "106",
            "subaccount": "0x17f902018957a6c64b44bc37a53b030042eec8a964656661756c740000000000"
        },
        {
            "id": "107",
            "subaccount": "0xc9eb4bc666d92b4f7ca8ca0a8c2193d2815d410064656661756c740000000000"
        },
        {
            "id": "108",
            "subaccount": "0x44b525f7bf3441464e406a094bc5e791f13dd79f64656661756c740000000000"
        },
        {
            "id": "109",
            "subaccount": "0xede149cd834ac2ca60e7f256e450763152d2e89e64656661756c740000000000"
        }
    ]
}

Response Fields

Subaccounts

Field Name
Description

id

Internal subaccount id

subaccount

Hex string of the subaccount (wallet + subaccount name)

API Rate limits