2727- [ getChainId] ( lumclient.md#getchainid )
2828- [ getSupply] ( lumclient.md#getsupply )
2929- [ getTx] ( lumclient.md#gettx )
30- - [ getValidators] ( lumclient.md#getvalidators )
3130- [ searchTx] ( lumclient.md#searchtx )
3231- [ signAndBroadcastTx] ( lumclient.md#signandbroadcasttx )
3332- [ signTx] ( lumclient.md#signtx )
3938
4039### constructor
4140
42- \+ ** new LumClient** (` tmClient ` : * Client * ): [ * LumClient* ] ( lumclient.md )
41+ \+ ** new LumClient** (` tmClient ` : * Tendermint34Client * ): [ * LumClient* ] ( lumclient.md )
4342
4443Create a LumClient instance using a tendermint RPC client
4544
4645#### Parameters:
4746
4847Name | Type | Description |
4948:------ | :------ | :------ |
50- ` tmClient ` | * Client * | tendermint RPC client |
49+ ` tmClient ` | * Tendermint34Client * | tendermint RPC client |
5150
5251** Returns:** [ * LumClient* ] ( lumclient.md )
5352
6766
6867### tmClient
6968
70- • ` Readonly ` ** tmClient** : * Client *
69+ • ` Readonly ` ** tmClient** : * Tendermint34Client *
7170
7271## Methods
7372
@@ -259,23 +258,6 @@ Name | Type | Description |
259258
260259___
261260
262- ### getValidators
263-
264- ▸ ** getValidators** (` blockHeight? ` : * number* ): * Promise* <ValidatorsResponse\>
265-
266- Get all validators
267- Validators are sorted first by voting power (descending), then by address (ascending)
268-
269- #### Parameters:
270-
271- Name | Type | Description |
272- :------ | :------ | :------ |
273- ` blockHeight? ` | * number* | block height to return. If no height is provided, it will fetch validator set which corresponds to the latest block |
274-
275- ** Returns:** * Promise* <ValidatorsResponse\>
276-
277- ___
278-
279261### searchTx
280262
281263▸ ** searchTx** (` queries ` : * string* [ ] , ` page? ` : * number* , ` perPage? ` : * number* , ` includeProof? ` : * boolean* ): * Promise* <TxResponse[ ] \>
@@ -294,7 +276,7 @@ Name | Type | Default value | Description |
294276:------ | :------ | :------ | :------ |
295277` queries ` | * string* [ ] | - | queries to run (see utils/search for helpers) |
296278` page ` | * number* | 1 | page to query (default to 1) |
297- ` perPage ` | * number* | 30 | result per pages (default to 30) |
279+ ` perPage ` | * number* | 30 | results per pages (default to 30) |
298280` includeProof? ` | * boolean* | - | whether or not to include proofs of the transactions inclusion in the block |
299281
300282** Returns:** * Promise* <TxResponse[ ] \>
303285
304286### signAndBroadcastTx
305287
306- ▸ ** signAndBroadcastTx** (` wallet ` : [ * LumWallet* ] ( lumwallet.md ) , ` messages ` : [ * Message * ] ( ../interfaces/lummessages.message.md ) [ ] , ` fee ` : [ * Fee * ] ( ../interfaces/ lumtypes.fee .md) , ` memo? ` : * string * ): * Promise* <BroadcastTxCommitResponse\>
288+ ▸ ** signAndBroadcastTx** (` wallet ` : [ * LumWallet* ] ( lumwallet.md ) , ` doc ` : [ * Doc * ] ( ../interfaces/lumtypes.doc .md ) ): * Promise* <BroadcastTxCommitResponse\>
307289
308290Signs and broadcast the transaction using the specified wallet and messages
309291
@@ -312,17 +294,15 @@ Signs and broadcast the transaction using the specified wallet and messages
312294Name | Type | Description |
313295:------ | :------ | :------ |
314296` wallet ` | [ * LumWallet* ] ( lumwallet.md ) | signing wallet |
315- ` messages ` | [ * Message* ] ( ../interfaces/lummessages.message.md ) [ ] | messages to sign |
316- ` fee ` | [ * Fee* ] ( ../interfaces/lumtypes.fee.md ) | requested fee |
317- ` memo? ` | * string* | optional memo for the transaction |
297+ ` doc ` | [ * Doc* ] ( ../interfaces/lumtypes.doc.md ) | document to sign and broadcast as a transaction |
318298
319299** Returns:** * Promise* <BroadcastTxCommitResponse\>
320300
321301___
322302
323303### signTx
324304
325- ▸ ** signTx** (` wallet ` : [ * LumWallet* ] ( lumwallet.md ) , ` messages ` : [ * Message * ] ( ../interfaces/lummessages.message.md ) [ ] , ` fee ` : [ * Fee * ] ( ../interfaces/ lumtypes.fee .md) , ` memo? ` : * string * ): * Promise* <Uint8Array\>
305+ ▸ ** signTx** (` wallet ` : [ * LumWallet* ] ( lumwallet.md ) , ` doc ` : [ * Doc * ] ( ../interfaces/lumtypes.doc .md ) ): * Promise* <Uint8Array\>
326306
327307Signs the messages using the provided wallet and builds the transaction
328308
@@ -331,9 +311,7 @@ Signs the messages using the provided wallet and builds the transaction
331311Name | Type | Description |
332312:------ | :------ | :------ |
333313` wallet ` | [ * LumWallet* ] ( lumwallet.md ) | signing wallet |
334- ` messages ` | [ * Message* ] ( ../interfaces/lummessages.message.md ) [ ] | messages to sign |
335- ` fee ` | [ * Fee* ] ( ../interfaces/lumtypes.fee.md ) | requested fee |
336- ` memo? ` | * string* | optional memo for the transaction |
314+ ` doc ` | [ * Doc* ] ( ../interfaces/lumtypes.doc.md ) | document to sign |
337315
338316** Returns:** * Promise* <Uint8Array\>
339317
0 commit comments