Get Orderbook Depth
get_orderbook_depthFull orderbook depth + slippage estimate for any Hyperliquid perp or HIP-4 market. Returns top of book, spread, cumulative depth at $100/$500/$1k/$5k tiers, and estimated slippage for a given order size. Critical for HIP-4 farming and low-liquidity assets where market orders get destroyed by slippage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | Asset ticker (BTC, ETH, SOL) or HIP-4 contract name (e.g. "BTC>81041@20260512-0600") | |
| side | No | Order side: "buy" (taker into asks) or "sell" (taker into bids) | buy |
| size_usdc | No | Order size in USDC to estimate slippage for (default: 200) |