> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uniblock.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# activeAssetData

> Native Hyperliquid `/info` operation. Returns the user's active asset data (leverage, max trade sizes) for `coin`.



## OpenAPI

````yaml /reference/api-json/hyperliquid-info-api-json.json post /v1/hyperliquid/info#2
openapi: 3.0.0
info:
  title: Uniblock Hyperliquid Info API
  description: >-
    Per-operation request/response docs for the Raw Hyperliquid Info dispatch
    endpoint. Each Hyperliquid Info `type` is a synthetic path through the
    single `POST /v1/hyperliquid/info` unified route.
  version: '1.0'
servers:
  - url: https://api.uniblock.dev/uni
    description: Gateway
security:
  - ApiKeyAuth: []
tags:
  - name: Hyperliquid
paths:
  /v1/hyperliquid/info#2:
    post:
      tags:
        - Hyperliquid
      summary: activeAssetData
      description: >-
        Native Hyperliquid `/info` operation. Returns the user's active asset
        data (leverage, max trade sizes) for `coin`.
      operationId: activeAssetData_HyperliquidInfo
      parameters:
        - name: chainId
          required: true
          in: query
          description: Unique identifier for a blockchain network.
          schema:
            type: number
            enum:
              - 999
              - 998
            default: 999
            example: 999
        - name: provider
          required: false
          in: query
          description: >-
            Specify which provider to use. The project's provider priority list
            is used by default if no providers are selected. (Priority list can
            be managed on Uniblock's dashboard)
          schema:
            type: string
            enum:
              - Alchemy
              - Dwellir
              - Chainstack
              - Covalent
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HyperliquidInfo_activeAssetData_Request'
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HyperliquidInfo_activeAssetData_Response'
components:
  schemas:
    HyperliquidInfo_activeAssetData_Request:
      type: object
      required:
        - type
        - user
        - coin
      properties:
        type:
          type: string
          enum:
            - activeAssetData
          default: activeAssetData
          example: activeAssetData
        user:
          type: string
          description: The account address to query (0x-prefixed).
          example: '0x000000000000000000000000000000000000dEaD'
        coin:
          type: string
          description: The asset symbol (e.g. `BTC`), or `dex:SYMBOL` for a builder DEX.
          example: BTC
      example:
        type: activeAssetData
        coin: BTC
        user: '0x000000000000000000000000000000000000dEaD'
    HyperliquidInfo_activeAssetData_Response:
      type: object
      required:
        - user
        - coin
        - leverage
        - maxTradeSzs
        - availableToTrade
      properties:
        user:
          type: string
          example: '0x000000000000000000000000000000000000dEaD'
        coin:
          type: string
          example: BTC
        leverage:
          type: object
          required:
            - type
            - value
          properties:
            type:
              type: string
              example: cross
            value:
              type: number
              example: 20
        maxTradeSzs:
          type: array
          description: '`[bid, ask]` maximum trade sizes.'
          items:
            type: string
            example: '0.0'
        availableToTrade:
          type: array
          description: '`[bid, ask]` sizes currently available to trade.'
          items:
            type: string
            example: '0.0'
        markPx:
          type: string
          example: '0.0'
      example:
        user: '0x000000000000000000000000000000000000dead'
        coin: BTC
        leverage:
          type: cross
          value: 20
        maxTradeSzs:
          - '0.0'
          - '0.0'
        availableToTrade:
          - '0.0'
          - '0.0'
        markPx: '63988.0'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY
      description: API key to access the API (Optional)

````