mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-13 21:52:36 +03:00
Update README.md
This commit is contained in:
11
README.md
11
README.md
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user