Skip to content

Commit 2b8b80e

Browse files
committed
Update docs
1 parent bb67295 commit 2b8b80e

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

docs/lib/classes/lumclient.md

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
- [searchTx](LumClient.md#searchtx)
2929
- [signAndBroadcastTx](LumClient.md#signandbroadcasttx)
3030
- [signTx](LumClient.md#signtx)
31+
- [signTxFromWallet](LumClient.md#signtxfromwallet)
3132
- [status](LumClient.md#status)
3233
- [txsQuery](LumClient.md#txsquery)
3334
- [connect](LumClient.md#connect)
@@ -291,15 +292,21 @@ ___
291292

292293
### signTx
293294

294-
**signTx**(`wallet`, `doc`): `Promise`<`Uint8Array`\>
295+
**signTx**<`T`\>(`wallets`, `doc`): `Promise`<`Uint8Array`\>
295296

296297
Signs the messages using the provided wallet and builds the transaction
297298

299+
#### Type parameters
300+
301+
| Name |
302+
| :------ |
303+
| `T` |
304+
298305
#### Parameters
299306

300307
| Name | Type | Description |
301308
| :------ | :------ | :------ |
302-
| `wallet` | [`LumWallet`](LumWallet.md) \| [`LumWallet`](LumWallet.md)[] | signing wallet or wallets for multi signature |
309+
| `wallets` | `T` | signing wallets for multi signature |
303310
| `doc` | [`Doc`](../interfaces/LumTypes.Doc.md) | document to sign |
304311

305312
#### Returns
@@ -308,6 +315,23 @@ Signs the messages using the provided wallet and builds the transaction
308315

309316
___
310317

318+
### signTxFromWallet
319+
320+
**signTxFromWallet**(`wallet`, `doc`): `Promise`<[`SignDoc`, `Uint8Array`]\>
321+
322+
#### Parameters
323+
324+
| Name | Type |
325+
| :------ | :------ |
326+
| `wallet` | [`LumWallet`](LumWallet.md) |
327+
| `doc` | [`Doc`](../interfaces/LumTypes.Doc.md) |
328+
329+
#### Returns
330+
331+
`Promise`<[`SignDoc`, `Uint8Array`]\>
332+
333+
___
334+
311335
### status
312336

313337
**status**(): `Promise`<`StatusResponse`\>

0 commit comments

Comments
 (0)