Fix: pools instead ORION_POOL

This commit is contained in:
Aleksandr Kraiz
2022-09-03 14:47:36 +04:00
parent dcbd07572d
commit ebed263f0b
5 changed files with 20 additions and 7 deletions

View File

@@ -274,8 +274,8 @@ const swapInfo = await simpleFetch(orionUnit.orionAggregator.getSwapInfo)(
"exactSpend", // type
"ORN", // asset in
"USDT", // asset out
25.23453457, // amount
["ORION_POOL"] // Exchanges. OPTIONAL! Specify ['ORION_POOL'] if you want "pool only" swap execution
25.23453457 // amount
// Exchanges. OPTIONAL! Specify 'pools' if you want "pool only" swap execution. Specify 'cex' if you want "cex only" execution
);
```