Api
constructor(apiHost: String, apiKey: String, requests: PortalRequests = PortalRequests(), provider: Provider, featureFlags: FeatureFlags? = null, enclaveApiHost: String = "mpc-client.portalhq.io")
Parameters
api Host
The base URL of the API server.
api Key
The API key used for authentication.
requests
An instance of PortalRequests to handle HTTP requests. Defaults to a new instance.
provider
An instance of Provider to access device specific data.
feature Flags
An optional instance of FeatureFlags for feature flag management.
enclave Api Host
The Enclave MPC API host. Defaults to mpc-client.portalhq.io.