TypeAlias.KeybanClientConfig
type KeybanClientConfig = {
api?: IKeybanApi;
apiUrl?: URL | string;
appId: string;
clientShareProvider?: ClientShareProvider;
network: Network;
};
Configuration options for initializing the Keyban client.
Properties
| Property | Type | Description |
|---|---|---|
api? | IKeybanApi | An optional API implementation to use instead of the default iframe-based one. Pass this to use the SDK in non-browser environments (e.g., Node.js). |
apiUrl? | URL | string | The base URL of the API. Optional. Defaults to "https://api.prod.keyban.io" if not provided. |
appId | string | The application ID. |
clientShareProvider? | ClientShareProvider | The client share provider. |
network | Network | The blockchain configuration for Keyban. |