CreateClientOptions Properties

The CreateClientOptions type exposes the following members.

Properties


  Name Description
Public property 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.
Public property ChainId
The chain-id is used in encryption code and when signing txs.
Public property EncryptionSeed
The tx encryption key / seed is used to encrypt transactions and will allow tx decryption at a later time. If no value is set (and no EncryptionUtils) a new tx encryption key / seed will be generated (Keplr style) by signing a message with the private key and deriving the key / seed from it.. If EncryptionUtils are manually provided this value gets ignored.
Public property EncryptionUtils
Secret Network encription utils which should be created with a privatly known tx encryption key / seed which used to encrypt transactions and will allow tx decryption at a later time.
Public property 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%).
Public property GrpcWebUrl
A gRPC-web url, by default on port 9091
Public property TransactionApprovalCallback
Transaction approval callback for a user approval of an transaction.
Public property Wallet
A wallet for signing transactions and permits. When `wallet` is supplied, `walletAddress` and `chainId` must be supplied too.
Public property WalletAddress
WalletAddress is the specific account address in the wallet that is permitted to sign transactions and permits.