SecretNetworkClient Properties
The SecretNetworkClient type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
AlwaysSimulateTransactions |
WARNING: On mainnet it's recommended to not simulate every transaction as this can burden your node provider.
Instead, use this while testing to determine the gas limit for each of your app's transactions (use TxOptions.GasLimit), then in production use hard-coded.
|
![]() |
ChainId |
The chain-id is used in encryption code and when signing txs.
|
![]() |
EncryptionSeed |
Passing `encryptionSeed` will allow tx decryption at a later time. Ignored if `encryptionUtils` is supplied.
|
![]() |
GasEstimationMultiplier |
Gas estimation is known to be a bit off, so you might need to adjust it a bit before broadcasting (default is 1.1 / 10%).
|
![]() |
GrpcWebUrl |
A gRPC-web url, by default on port 9091
|
![]() |
Permit |
A (amino) signer. for signing permits (needs an attached wallet).
|
![]() |
Query |
Access to all query types.
|
![]() |
TransactionApprovalCallback |
Transaction approval callback for a user approval of an transaction.
|
![]() |
Tx |
A signer client (= with wallet) can broadcast transactions.
Tx gives access to all transaction types.
|
![]() |
Wallet |
A wallet for signing transactions and permits. When `wallet` is supplied, `walletAddress` and `chainId` must be supplied too.
|
![]() |
WalletAddress |
WalletAddress is the specific account address in the wallet that is permitted to sign transactions and permits.
If no wallet is attached the `CreateClientOptions.WalletAddress` is returned.
|