getClient method.
Options
| Property | Description | Required |
|---|---|---|
| baseApiUrl | The base api url to use when making requests, you can use the MAINNET_RELAY_API or the TESTNET_RELAY_API constants exported by the package. | ✅ |
| chains | A list of Relay Chains, by default a list of backup chains is configured | ❌ |
| source | The source to associate your onchain activity with, should make to a domain | ❌ |
| logLevel | The level at which to log, refer to the LogLevel enum exported by the package | ❌ |
| pollingInterval | How often to poll status and check apis, this value is in milliseconds | ❌ |
| maxPollingAttemptsBeforeTimeout | The source to associate your onchain activity with, should be set to a domain | ❌ |