CreateClientOptions Properties
The CreateClientOptions 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 |
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.
|
![]() |
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.
|
![]() |
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
|
![]() |
TransactionApprovalCallback |
Transaction approval callback for a user approval of an transaction.
|
![]() |
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.
|