@elevenyellow.com/switchain-api-client
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "@elevenyellow.com/switchain-api-client", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "client module to access switchains's api", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -87,1 +87,23 @@ # Install | ||
``` | ||
## getOrderStatus | ||
#### Params | ||
- orderId: `string` | ||
#### Returns | ||
```js | ||
{ | ||
status: { | ||
status, fromAmount, rate, exchangeAddress, toAddress, refundAddress, toTx; | ||
} | ||
} | ||
``` | ||
#### Example | ||
```js | ||
const { status } = SwitchainApi.getOrderStatus({ orderId }); | ||
``` |
6795
109