Update README.md

This commit is contained in:
Aleksandr Kraiz
2022-06-07 19:44:26 +04:00
committed by GitHub
parent 85c0dde0ae
commit eca8004e09

View File

@@ -179,6 +179,17 @@ orionUnit.farmingManager.removeAllLiquidity({
## Low level methods
### Get aggregated orderbook
```ts
import { simpleFetch } from "@orionprotocol/sdk";
const orderbook = await simpleFetch(orionUnit.orionBlockchain.getAggregatedOrderbook)(
"ORN-USDT",
20, // Depth
);
```
### Get historical price
```ts