Client Options
Configuration options for ContractClient initialization and contract invocation.
This class consolidates both client setup and invocation behavior options:
Client setup: sourceAccountKeyPair, contractId, network, rpcUrl, logging
Invocation behavior: baseFee, timeouts, simulation, restoration, auto-submit
Client Setup Options
Constructors
Properties
Whether to auto-submit write calls (default: true). When true, write calls are automatically signed and submitted. When false, only simulation is performed and you can inspect the transaction before submitting manually.
The contract ID (C... address) to interact with
The keypair of the source account that will send transactions. If restore is needed in method options, must contain private key.
Polling timeout when submitting transactions in seconds (default: 30)
Transaction validity timeout in seconds (default: 300 = 5 minutes)