-
Notifications
You must be signed in to change notification settings - Fork 69
@liquality.types.WalletProvider
@liquality/types.WalletProvider
- exportPrivateKey
- getAddresses
- getConnectedNetwork
- getUnusedAddress
- getUsedAddresses
- isWalletAvailable
- sendBatchTransaction
- sendSweepTransaction
- sendTransaction
- signMessage
- updateTransactionFee
• Optional
canUpdateFee: boolean
| () => boolean
▸ Optional
exportPrivateKey(): Promise
<string
>
Promise
<string
>
▸ getAddresses(startingIndex?
, numAddresses?
, change?
): Promise
<Address
[]>
Name | Type |
---|---|
startingIndex? |
number |
numAddresses? |
number |
change? |
boolean |
Promise
<Address
[]>
▸ getConnectedNetwork(): Promise
<any
>
Promise
<any
>
▸ getUnusedAddress(change?
, numAddressPerCall?
): Promise
<Address
>
Name | Type |
---|---|
change? |
boolean |
numAddressPerCall? |
number |
Promise
<Address
>
▸ getUsedAddresses(numAddressPerCall?
): Promise
<Address
[]>
Name | Type |
---|---|
numAddressPerCall? |
number |
Promise
<Address
[]>
▸ isWalletAvailable(): Promise
<boolean
>
Promise
<boolean
>
▸ sendBatchTransaction(transactions
): Promise
<Transaction
<any
>[]>
Name | Type |
---|---|
transactions |
TransactionRequest [] |
Promise
<Transaction
<any
>[]>
▸ sendSweepTransaction(address
, asset
, fee?
): Promise
<Transaction
<any
>>
Name | Type |
---|---|
address |
AddressType |
asset |
Asset |
fee? |
FeeType |
Promise
<Transaction
<any
>>
▸ sendTransaction(options
): Promise
<Transaction
<any
>>
Name | Type |
---|---|
options |
TransactionRequest |
Promise
<Transaction
<any
>>
▸ signMessage(message
, from
): Promise
<string
>
Name | Type |
---|---|
message |
string |
from |
string |
Promise
<string
>
▸ updateTransactionFee(tx
, newFee
): Promise
<Transaction
<any
>>
Name | Type |
---|---|
tx |
string | Transaction <any > |
newFee |
FeeType |
Promise
<Transaction
<any
>>