This commit is contained in:
Aleksandr Kraiz
2023-02-16 16:56:25 +04:00
parent 19f46f33d0
commit 11c8348ee9

View File

@@ -106,7 +106,7 @@ detectEthereumProvider().then((provider) => {
## High level methods
## Get assets
### Get assets
```ts
const assets = await orion.getAssets(); // Optional: tradableOnly: boolean (default: true)
@@ -127,7 +127,7 @@ const assets = await orion.getAssets(); // Optional: tradableOnly: boolean (defa
// }
```
## Get pairs
### Get pairs
```ts
const pairs = await orion.getPairs("spot"); // 'spot' | 'futures'