SecretNetworkClient Methods
The SecretNetworkClient type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
|
|
AddressToBytes |
Converts the address to bytes.
|
|
|
Base64PubkeyToAddress |
Converts a base64 encoded PubKey to an address.
|
|
|
BytesToAddress |
Get the address from bytes (bech32).
|
|
|
GetEncryptionUtils |
Gets the EncryptionUtils and uses the stored tx encryption key / seed (from which the encryption key for encrypting the transactions is generated) from the wallet or generates a new one (Keplr style) and stores it.
If the EncryptionUtils were passed in the CreateClientOptions, they will be used.
|
|
|
GetSignerData |
Gets the signer data for the given wallet address.
|
|
|
GetTxEncryptionSeed |
Gets the stored tx encryption key / seed (from which the encryption key for encrypting the transactions is generated) or generates a new one (Keplr style) and stores it.
|
|
|
PrepareAndSign |
Prepares the and signs the specified messages.
|
|
|
PubkeyToAddress |
Converts a PubKey to an address.
|
|
|
Sign |
Signs the specified messages.
|
|
|
SignAmino |
Signs the transaction (amino).
|
|
|
SignDirect |
Signs the transaction (direct).
|

