mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-06 17:27:59 +00:00
Fix typos in docs
This commit is contained in:
@@ -1511,7 +1511,7 @@ options | object | *Optional* Options to determine how the balances will be calc
|
|||||||
|
|
||||||
### Return Value
|
### Return Value
|
||||||
|
|
||||||
This method returns a promise that resolves with an array of objects with the following structure:
|
This method returns a promise that resolves with an object with the following structure:
|
||||||
|
|
||||||
Name | Type | Description
|
Name | Type | Description
|
||||||
---- | ---- | -----------
|
---- | ---- | -----------
|
||||||
@@ -3051,7 +3051,7 @@ instructions | object | The instructions for how to execute the transaction afte
|
|||||||
```javascript
|
```javascript
|
||||||
const address = 'r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59';
|
const address = 'r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59';
|
||||||
const orderCancellation = {orderSequence: 123};
|
const orderCancellation = {orderSequence: 123};
|
||||||
return api.prepareOrderCancellation(address, sequence)
|
return api.prepareOrderCancellation(address, orderCancellation)
|
||||||
.then(prepared => {/* ... */});
|
.then(prepared => {/* ... */});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Returns aggregate balances by currency plus a breakdown of assets and obligation
|
|||||||
|
|
||||||
### Return Value
|
### Return Value
|
||||||
|
|
||||||
This method returns a promise that resolves with an array of objects with the following structure:
|
This method returns a promise that resolves with an object with the following structure:
|
||||||
|
|
||||||
<%- renderSchema('output/get-balance-sheet.json') %>
|
<%- renderSchema('output/get-balance-sheet.json') %>
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ All "prepare*" methods have the same return type.
|
|||||||
```javascript
|
```javascript
|
||||||
const address = 'r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59';
|
const address = 'r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59';
|
||||||
const orderCancellation = {orderSequence: 123};
|
const orderCancellation = {orderSequence: 123};
|
||||||
return api.prepareOrderCancellation(address, sequence)
|
return api.prepareOrderCancellation(address, orderCancellation)
|
||||||
.then(prepared => {/* ... */});
|
.then(prepared => {/* ... */});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user