get depth
Last updated
Last updated
This API returns market depth data, which is a combination of the orderbook and swap liquidity.
Source code https://github.com/Deland-Labs/hibit-sdk
it is a combination of the orderbook and the swap liquidity.
The index of the depth. for example, if depth levels of market is 0.01, 0.1, 1, 10, 50, 100. then the index of 0.01 is 1, 0.1 is 2, 1 is 3, 10 is 4, 50 is 5, 100 is 6.
1
, 2
, 3
, 4
, 5
, 6
The market id.
limit of the depth. Range from 1 to 100.