mirror of
https://github.com/Xahau/xahau.js.git
synced 2026-04-29 15:37:50 +00:00
Use example.com instead of ripple.com Co-authored-by: Elliot Lee <github.public@intelliot.com>
25 lines
614 B
Plaintext
25 lines
614 B
Plaintext
## combine
|
|
|
|
`combine(signedTransactions: Array<string>): {signedTransaction: string, id: string}`
|
|
|
|
Combines signed transactions from multiple accounts for a multisignature transaction into a form that can be [submitted](#submit).
|
|
|
|
### Parameters
|
|
|
|
<%- renderSchema("input/combine.json") %>
|
|
|
|
### Return Value
|
|
|
|
This method returns an object with the following structure:
|
|
|
|
<%- renderSchema("output/sign.json") %>
|
|
|
|
### Example
|
|
|
|
```javascript
|
|
const signedTransactions = <%- importFile('test/fixtures/requests/combine.json') %>;
|
|
return api.combine(signedTransactions);
|
|
```
|
|
|
|
<%- renderFixture("responses/combine.json") %>
|