> ## Documentation Index
> Fetch the complete documentation index at: https://cantonfoundation-landing-margin.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Wallet SDK

> TypeScript client library reference for wallet integrations.

Generated from published `@canton-network/wallet-sdk` TypeDoc snapshots.

## Table of Contents

| Name                                                                               | Kind       | Summary                                                                                                                                                                                                                                      | Introduced | Changed                                             | Deprecated | Removed |
| ---------------------------------------------------------------------------------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | --------------------------------------------------- | ---------- | ------- |
| [`AmuletNamespace`](#class-amuletnamespace)                                        | Class      | -                                                                                                                                                                                                                                            | `1.3.1`    | -                                                   | -          | -       |
| [`AssetNamespace`](#class-assetnamespace)                                          | Class      | -                                                                                                                                                                                                                                            | `1.3.1`    | `1.4.0`: details updated                            | -          | -       |
| [`CustomLogAdapter`](#class-customlogadapter)                                      | Class      | CustomLogAdapter allows users to provide their own logging implementation.<br /><br />This adapter can be passed to SDKLogger to enable custom log handling logic,<br />such as integrating with third-party logging services or frameworks. | `1.4.0`    | -                                                   | -          | -       |
| [`ExtendedInitializedSDK`](#class-extendedinitializedsdk)                          | Class      | -                                                                                                                                                                                                                                            | `1.3.1`    | `1.4.0`: details updated                            | -          | -       |
| [`InitializedSDK`](#class-initializedsdk)                                          | Class      | -                                                                                                                                                                                                                                            | `1.3.1`    | `1.4.0`: type parameters added: `CurrentlyExtended` | -          | -       |
| [`LedgerProvider`](#class-ledgerprovider)                                          | Class      | -                                                                                                                                                                                                                                            | `1.3.1`    | -                                                   | -          | -       |
| [`OfflineInitializedSDK`](#class-offlineinitializedsdk)                            | Class      | -                                                                                                                                                                                                                                            | `1.3.1`    | -                                                   | -          | -       |
| [`PreapprovalNamespace`](#class-preapprovalnamespace)                              | Class      | -                                                                                                                                                                                                                                            | `1.3.1`    | -                                                   | -          | -       |
| [`PreparedTransaction`](#class-preparedtransaction)                                | Class      | -                                                                                                                                                                                                                                            | `1.3.1`    | -                                                   | -          | -       |
| [`SDK`](#class-sdk)                                                                | Class      | -                                                                                                                                                                                                                                            | `1.3.1`    | `1.4.0`: details updated                            | -          | -       |
| [`SDKPlugin`](#class-sdkplugin)                                                    | Class      | -                                                                                                                                                                                                                                            | `1.3.1`    | `1.4.0`: members added: `_ctx`                      | -          | -       |
| [`SignedTransaction`](#class-signedtransaction)                                    | Class      | -                                                                                                                                                                                                                                            | `1.3.1`    | -                                                   | -          | -       |
| [`TokenNamespace`](#class-tokennamespace)                                          | Class      | -                                                                                                                                                                                                                                            | `1.3.1`    | -                                                   | -          | -       |
| [`FeaturedAppService`](#interface-featuredappservice)                              | Interface  | -                                                                                                                                                                                                                                            | `1.3.1`    | -                                                   | -          | -       |
| [`LogAdapter`](#interface-logadapter)                                              | Interface  | -                                                                                                                                                                                                                                            | `1.4.0`    | -                                                   | -          | -       |
| [`AllowedLogAdapters`](#type-alias-allowedlogadapters)                             | Type Alias | -                                                                                                                                                                                                                                            | `1.4.0`    | -                                                   | -          | -       |
| [`AmuletConfig`](#type-alias-amuletconfig)                                         | Type Alias | -                                                                                                                                                                                                                                            | `1.3.1`    | `1.4.0`: signature updated                          | -          | -       |
| [`AmuletNamespaceConfig`](#type-alias-amuletnamespaceconfig)                       | Type Alias | -                                                                                                                                                                                                                                            | `1.3.1`    | `1.4.0`: signature updated                          | -          | -       |
| [`AssetBody`](#type-alias-assetbody)                                               | Type Alias | -                                                                                                                                                                                                                                            | `1.3.1`    | `1.4.0`: signature updated                          | -          | -       |
| [`AssetConfig`](#type-alias-assetconfig)                                           | Type Alias | -                                                                                                                                                                                                                                            | `1.3.1`    | `1.4.0`: signature updated                          | -          | -       |
| [`AssetContext`](#type-alias-assetcontext)                                         | Type Alias | -                                                                                                                                                                                                                                            | `1.3.1`    | -                                                   | -          | -       |
| [`BasicSDKInterface`](#type-alias-basicsdkinterface)                               | Type Alias | -                                                                                                                                                                                                                                            | `1.3.1`    | `1.4.0`: signature updated                          | -          | -       |
| [`BasicSDKOptions`](#type-alias-basicsdkoptions)                                   | Type Alias | Options for configuring the Wallet SDK instance.                                                                                                                                                                                             | `1.3.1`    | `1.4.0`: signature updated                          | -          | -       |
| [`CompletionEvent`](#type-alias-completionevent)                                   | Type Alias | -                                                                                                                                                                                                                                            | `1.4.0`    | -                                                   | -          | -       |
| [`DefaultLogAdapters`](#type-alias-defaultlogadapters)                             | Type Alias | -                                                                                                                                                                                                                                            | `1.4.0`    | -                                                   | -          | -       |
| [`Event`](#type-alias-event)                                                       | Type Alias | -                                                                                                                                                                                                                                            | `1.3.1`    | `1.4.0`: signature updated                          | -          | -       |
| [`EventsConfig`](#type-alias-eventsconfig)                                         | Type Alias | -                                                                                                                                                                                                                                            | `1.3.1`    | `1.4.0`: signature updated                          | -          | -       |
| [`ExecuteOptions`](#type-alias-executeoptions)                                     | Type Alias | -                                                                                                                                                                                                                                            | `1.3.1`    | -                                                   | -          | -       |
| [`ExtendedFullSDKInterface`](#type-alias-extendedfullsdkinterface)                 | Type Alias | -                                                                                                                                                                                                                                            | `1.3.1`    | -                                                   | -          | -       |
| [`ExtendedSDKInterface`](#type-alias-extendedsdkinterface)                         | Type Alias | -                                                                                                                                                                                                                                            | `1.3.1`    | `1.4.0`: signature updated                          | -          | -       |
| [`ExtendedSDKOptions`](#type-alias-extendedsdkoptions)                             | Type Alias | -                                                                                                                                                                                                                                            | `1.3.1`    | -                                                   | -          | -       |
| [`FeaturedAppRight`](#type-alias-featuredappright)                                 | Type Alias | -                                                                                                                                                                                                                                            | `1.3.1`    | -                                                   | -          | -       |
| [`GetExtendedKeys`](#type-alias-getextendedkeys)                                   | Type Alias | -                                                                                                                                                                                                                                            | `1.3.1`    | -                                                   | -          | -       |
| [`GrantFeaturedAppRightsOptions`](#type-alias-grantfeaturedapprightsoptions)       | Type Alias | -                                                                                                                                                                                                                                            | `1.3.1`    | `1.4.0`: signature updated                          | -          | -       |
| [`LedgerTypes`](#type-alias-ledgertypes)                                           | Type Alias | -                                                                                                                                                                                                                                            | `1.3.1`    | -                                                   | -          | -       |
| [`LogContext`](#type-alias-logcontext)                                             | Type Alias | Contextual metadata for log entries.                                                                                                                                                                                                         | `1.4.0`    | -                                                   | -          | -       |
| [`LogLevel`](#type-alias-loglevel)                                                 | Type Alias | -                                                                                                                                                                                                                                            | `1.4.0`    | -                                                   | -          | -       |
| [`LookupFeaturedAppRightsOptions`](#type-alias-lookupfeaturedapprightsoptions)     | Type Alias | -                                                                                                                                                                                                                                            | `1.3.1`    | -                                                   | -          | -       |
| [`NullableExtendedFullSDKInterface`](#type-alias-nullableextendedfullsdkinterface) | Type Alias | -                                                                                                                                                                                                                                            | `1.3.1`    | -                                                   | -          | -       |
| [`OfflineSDKContext`](#type-alias-offlinesdkcontext)                               | Type Alias | -                                                                                                                                                                                                                                            | `1.3.1`    | -                                                   | -          | -       |
| [`OfflineSDKInterface`](#type-alias-offlinesdkinterface)                           | Type Alias | -                                                                                                                                                                                                                                            | `1.3.1`    | -                                                   | -          | -       |
| [`PreapprovalParties`](#type-alias-preapprovalparties)                             | Type Alias | -                                                                                                                                                                                                                                            | `1.3.1`    | -                                                   | -          | -       |
| [`PreparedCommand`](#type-alias-preparedcommand)                                   | Type Alias | -                                                                                                                                                                                                                                            | `1.3.1`    | `1.4.0`: signature updated                          | -          | -       |
| [`PrepareOptions`](#type-alias-prepareoptions)                                     | Type Alias | -                                                                                                                                                                                                                                            | `1.3.1`    | `1.4.0`: signature updated                          | -          | -       |
| [`RegisteredPlugins`](#type-alias-registeredplugins)                               | Type Alias | -                                                                                                                                                                                                                                            | `1.3.1`    | -                                                   | -          | -       |
| [`SDKContext`](#type-alias-sdkcontext)                                             | Type Alias | -                                                                                                                                                                                                                                            | `1.3.1`    | -                                                   | -          | -       |
| [`SDKInterface`](#type-alias-sdkinterface)                                         | Type Alias | -                                                                                                                                                                                                                                            | `1.3.1`    | -                                                   | -          | -       |
| [`SDKOptions`](#type-alias-sdkoptions)                                             | Type Alias | -                                                                                                                                                                                                                                            | `1.3.1`    | -                                                   | -          | -       |
| [`TokenConfig`](#type-alias-tokenconfig)                                           | Type Alias | -                                                                                                                                                                                                                                            | `1.3.1`    | `1.4.0`: signature updated                          | -          | -       |
| [`TokenNamespaceConfig`](#type-alias-tokennamespaceconfig)                         | Type Alias | -                                                                                                                                                                                                                                            | `1.3.1`    | `1.4.0`: signature updated                          | -          | -       |
| [`TokenProviderConfig`](#type-alias-tokenproviderconfig)                           | Type Alias | -                                                                                                                                                                                                                                            | `1.3.1`    | -                                                   | -          | -       |
| [`UpdateEvent`](#type-alias-updateevent)                                           | Type Alias | -                                                                                                                                                                                                                                            | `1.4.0`    | -                                                   | -          | -       |
| [`EXTENDED_SDK_OPTION_KEYS`](#variable-extended-sdk-option-keys)                   | Variable   | -                                                                                                                                                                                                                                            | `1.3.1`    | -                                                   | -          | -       |
| [`localNetStaticConfig`](#variable-localnetstaticconfig)                           | Variable   | -                                                                                                                                                                                                                                            | `1.3.1`    | -                                                   | -          | -       |
| [`fetchAmulet`](#function-fetchamulet)                                             | Function   | -                                                                                                                                                                                                                                            | `1.3.1`    | -                                                   | -          | -       |
| [`findAsset`](#function-findasset)                                                 | Function   | -                                                                                                                                                                                                                                            | `1.3.1`    | `1.4.0`: call signatures updated                    | -          | -       |
| [`getPublicKeyFromPrivate`](#function-getpublickeyfromprivate)                     | Function   | -                                                                                                                                                                                                                                            | `1.3.1`    | -                                                   | -          | -       |
| [`getValidatorParty`](#function-getvalidatorparty)                                 | Function   | -                                                                                                                                                                                                                                            | `1.4.0`    | -                                                   | -          | -       |
| [`signTransactionHash`](#function-signtransactionhash)                             | Function   | -                                                                                                                                                                                                                                            | `1.3.1`    | -                                                   | -          | -       |

## Version Change Summary

| Version | Added | Changed | Removed |
| ------- | ----- | ------- | ------- |
| `1.3.1` | `50`  | -       | -       |
| `1.4.0` | `9`   | `20`    | -       |

## Reference

### Classes

<span id="class-amuletnamespace" />

#### AmuletNamespace

* Kind: `Class`
* Introduced: `1.3.1`
* Source: `dist/wallet/namespace/amulet/namespace.d.ts:18`

**Members**

| Member        | Type                   | Description |
| ------------- | ---------------------- | ----------- |
| `constructor` | `void`                 | -           |
| `featuredApp` | `FeaturedAppNamespace` | -           |
| `preapproval` | `PreapprovalNamespace` | -           |
| `traffic`     | `TrafficNamespace`     | -           |
| `tap`         | `void`                 | -           |
| `tapInternal` | `void`                 | -           |

<span id="class-assetnamespace" />

#### AssetNamespace

* Kind: `Class`
* Introduced: `1.3.1`
* Changed in: `1.4.0`
* Source: `dist/wallet/namespace/asset/index.d.ts:17`

**Version Changes**

| Version | Changes         |
| ------- | --------------- |
| `1.4.0` | details updated |

**Members**

| Member        | Type   | Description |
| ------------- | ------ | ----------- |
| `constructor` | `void` | -           |
| `list`        | `void` | -           |
| `find`        | `void` | -           |

<span id="class-customlogadapter" />

#### CustomLogAdapter

* Kind: `Class`
* Introduced: `1.4.0`
* Source: `dist/wallet/logger/adapter/custom.d.ts:16`

CustomLogAdapter allows users to provide their own logging implementation.

This adapter can be passed to SDKLogger to enable custom log handling logic,
such as integrating with third-party logging services or frameworks.

**Members**

| Member        | Type                                                                                                | Description |
| ------------- | --------------------------------------------------------------------------------------------------- | ----------- |
| `constructor` | `void`                                                                                              | -           |
| `log`         | `(type: "debug" \| "error" \| "info" \| "warn" \| "trace", ctx: Partial, message?: string) => void` | -           |

<span id="class-extendedinitializedsdk" />

#### ExtendedInitializedSDK

* Kind: `Class`
* Introduced: `1.3.1`
* Changed in: `1.4.0`
* Source: `dist/wallet/init/initializedSDK.d.ts:30`

**Version Changes**

| Version | Changes         |
| ------- | --------------- |
| `1.4.0` | details updated |

**Type Parameters**

| Name            | Constraint                 | Default | Description |
| --------------- | -------------------------- | ------- | ----------- |
| `ExtendedItems` | `keyof ExtendedSDKOptions` | -       | -           |

**Members**

| Member            | Type                                                       | Description |
| ----------------- | ---------------------------------------------------------- | ----------- |
| `amulet`          | `ExtendedItems extends "amulet" ? AmuletNamespace : never` | -           |
| `asset`           | `ExtendedItems extends "asset" ? AssetNamespace : never`   | -           |
| `ctx`             | `SDKContext`                                               | -           |
| `events`          | `ExtendedItems extends "events" ? EventsNamespace : never` | -           |
| `keys`            | `KeysNamespace`                                            | -           |
| `ledger`          | `LedgerNamespace`                                          | -           |
| `party`           | `PartyNamespace`                                           | -           |
| `token`           | `ExtendedItems extends "token" ? TokenNamespace : never`   | -           |
| `user`            | `UserNamespace`                                            | -           |
| `utils`           | `SDKUtilsNamespace`                                        | -           |
| `extend`          | `void`                                                     | -           |
| `registerPlugins` | `void`                                                     | -           |
| `create`          | `void`                                                     | -           |

<span id="class-initializedsdk" />

#### InitializedSDK

* Kind: `Class`
* Introduced: `1.3.1`
* Changed in: `1.4.0`
* Source: `dist/wallet/init/initializedSDK.d.ts:13`

**Version Changes**

| Version | Changes                                    |
| ------- | ------------------------------------------ |
| `1.4.0` | type parameters added: `CurrentlyExtended` |

**Type Parameters**

| Name                | Constraint                 | Default | Description |
| ------------------- | -------------------------- | ------- | ----------- |
| `CurrentlyExtended` | `keyof ExtendedSDKOptions` | `never` | -           |

**Members**

| Member            | Type                | Description |
| ----------------- | ------------------- | ----------- |
| `constructor`     | `void`              | -           |
| `ctx`             | `SDKContext`        | -           |
| `keys`            | `KeysNamespace`     | -           |
| `ledger`          | `LedgerNamespace`   | -           |
| `party`           | `PartyNamespace`    | -           |
| `user`            | `UserNamespace`     | -           |
| `utils`           | `SDKUtilsNamespace` | -           |
| `extend`          | `void`              | -           |
| `registerPlugins` | `void`              | -           |

<span id="class-ledgerprovider" />

#### LedgerProvider

* Kind: `Class`
* Introduced: `1.3.1`
* Source: `node_modules/@canton-network/core-provider-ledger/dist/LedgerProvider.d.ts:8`

**Members**

| Member           | Type   | Description |
| ---------------- | ------ | ----------- |
| `constructor`    | `void` | -           |
| `listeners`      | `{}`   | -           |
| `emit`           | `void` | -           |
| `on`             | `void` | -           |
| `removeListener` | `void` | -           |
| `request`        | `void` | -           |

<span id="class-offlineinitializedsdk" />

#### OfflineInitializedSDK

* Kind: `Class`
* Introduced: `1.3.1`
* Source: `dist/wallet/init/initializedSDK.d.ts:24`

**Members**

| Member        | Type                | Description |
| ------------- | ------------------- | ----------- |
| `constructor` | `void`              | -           |
| `ctx`         | `OfflineSDKContext` | -           |
| `keys`        | `KeysNamespace`     | -           |
| `utils`       | `SDKUtilsNamespace` | -           |

<span id="class-preapprovalnamespace" />

#### PreapprovalNamespace

* Kind: `Class`
* Introduced: `1.3.1`
* Source: `dist/wallet/namespace/amulet/preapproval.d.ts:6`

**Members**

| Member        | Type                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | Description                                                                                                                                                                                                                         |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `constructor` | `void`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | -                                                                                                                                                                                                                                   |
| `command`     | `{ cancel: (args: { parties: PreapprovalParties }) => Promise<[{ ExerciseCommand: { choice: string; choiceArgument: unknown; contractId: string; templateId: string } & { choice: string; choiceArgument: unknown; contractId: string; templateId: string } }, { contractId?: string; createdEventBlob: string; synchronizerId?: string; templateId?: string } & { contractId?: string; createdEventBlob: string; synchronizerId?: string; templateId?: string }[]] \| readonly [null, readonly []]>; create: (args: { parties: PreapprovalParties }) => Promise<{ CreateCommand: { createArguments: unknown; templateId: string } & { createArguments: unknown; templateId: string } }> }` | Commands for managing transfer preapprovals. The return result can be used as an argument to pass to signing and execution of a transaction.<br />Transfer preapprovals allow receivers to automatically accept incoming transfers. |
| `fetchQuick`  | `void`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | -                                                                                                                                                                                                                                   |
| `fetchStatus` | `void`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | -                                                                                                                                                                                                                                   |
| `renew`       | `void`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | -                                                                                                                                                                                                                                   |

<span id="class-preparedtransaction" />

#### PreparedTransaction

* Kind: `Class`
* Introduced: `1.3.1`
* Source: `dist/wallet/namespace/transactions/prepared.d.ts:6`

**Members**

| Member            | Type                                                                                                                                                                                                                                                                                                                                                                                                                      | Description |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| `constructor`     | `void`                                                                                                                                                                                                                                                                                                                                                                                                                    | -           |
| `preparedPromise` | `Promise<{ costEstimation?: { confirmationRequestTrafficCostEstimation: number; confirmationResponseTrafficCostEstimation: number; estimationTimestamp: string; totalTrafficCostEstimation: number }; hashingDetails?: string; hashingSchemeVersion: "HASHING_SCHEME_VERSION_UNSPECIFIED" \| "HASHING_SCHEME_VERSION_V2" \| "HASHING_SCHEME_VERSION_V3"; preparedTransaction: string; preparedTransactionHash: string }>` | -           |
| `decode`          | `void`                                                                                                                                                                                                                                                                                                                                                                                                                    | -           |
| `sign`            | `void`                                                                                                                                                                                                                                                                                                                                                                                                                    | -           |
| `toJSON`          | `void`                                                                                                                                                                                                                                                                                                                                                                                                                    | -           |

<span id="class-sdk" />

#### SDK

* Kind: `Class`
* Introduced: `1.3.1`
* Changed in: `1.4.0`
* Source: `dist/wallet/sdk.d.ts:21`

**Version Changes**

| Version | Changes         |
| ------- | --------------- |
| `1.4.0` | details updated |

**Members**

| Member          | Type   | Description |
| --------------- | ------ | ----------- |
| `constructor`   | `void` | -           |
| `create`        | `void` | -           |
| `createOffline` | `void` | -           |

<span id="class-sdkplugin" />

#### SDKPlugin

* Kind: `Class`
* Introduced: `1.3.1`
* Changed in: `1.4.0`
* Source: `dist/wallet/init/plugin.d.ts:3`

**Version Changes**

| Version | Changes               |
| ------- | --------------------- |
| `1.4.0` | members added: `_ctx` |

**Members**

| Member        | Type         | Description |
| ------------- | ------------ | ----------- |
| `constructor` | `void`       | -           |
| `_ctx`        | `SDKContext` | -           |
| `ctx`         | `SDKContext` | -           |
| `logger`      | `SDKLogger`  | -           |
| `name`        | `string`     | -           |

<span id="class-signedtransaction" />

#### SignedTransaction

* Kind: `Class`
* Introduced: `1.3.1`
* Source: `dist/wallet/namespace/transactions/signed.d.ts:5`

**Members**

| Member          | Type                                                                                                                                                                                                                                                                                                                                                                                                                                                       | Description |
| --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| `constructor`   | `void`                                                                                                                                                                                                                                                                                                                                                                                                                                                     | -           |
| `signedPromise` | `Promise<{ response: { costEstimation?: { confirmationRequestTrafficCostEstimation: number; confirmationResponseTrafficCostEstimation: number; estimationTimestamp: string; totalTrafficCostEstimation: number }; hashingDetails?: string; hashingSchemeVersion: "HASHING_SCHEME_VERSION_UNSPECIFIED" \| "HASHING_SCHEME_VERSION_V2" \| "HASHING_SCHEME_VERSION_V3"; preparedTransaction: string; preparedTransactionHash: string }; signature: string }>` | -           |
| `execute`       | `void`                                                                                                                                                                                                                                                                                                                                                                                                                                                     | -           |
| `response`      | `void`                                                                                                                                                                                                                                                                                                                                                                                                                                                     | -           |
| `signature`     | `void`                                                                                                                                                                                                                                                                                                                                                                                                                                                     | -           |

<span id="class-tokennamespace" />

#### TokenNamespace

* Kind: `Class`
* Introduced: `1.3.1`
* Source: `dist/wallet/namespace/token/namespace.d.ts:15`

**Members**

| Member             | Type                  | Description |
| ------------------ | --------------------- | ----------- |
| `constructor`      | `void`                | -           |
| `allocation`       | `AllocationNamespace` | -           |
| `transfer`         | `TransferNamespace`   | -           |
| `utxos`            | `UtxoNamespace`       | -           |
| `holdings`         | `void`                | -           |
| `transactionsById` | `void`                | -           |

### Interfaces

<span id="interface-featuredappservice" />

#### FeaturedAppService

* Kind: `Interface`
* Introduced: `1.3.1`
* Source: `dist/wallet/namespace/amulet/types.d.ts:6`

**Signature**

```ts theme={null}
interface FeaturedAppService
```

**Members**

| Member   | Type                                                                     | Description                                                                                     |
| -------- | ------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------- |
| `grant`  | `(options?: GrantFeaturedAppRightsOptions) => Promise<FeaturedAppRight>` | Submits a command to grant feature app rights for validator operator.                           |
| `rights` | `(options: LookupFeaturedAppRightsOptions) => Promise<FeaturedAppRight>` | Looks up if a party has FeaturedAppRight.<br />Has an in built retry and delay between attempts |

<span id="interface-logadapter" />

#### LogAdapter

* Kind: `Interface`
* Introduced: `1.4.0`
* Source: `dist/wallet/logger/types.d.ts:40`

**Signature**

```ts theme={null}
interface LogAdapter
```

**Members**

| Member | Type   | Description |
| ------ | ------ | ----------- |
| `log`  | `void` | -           |

### Type Aliases

<span id="type-alias-allowedlogadapters" />

#### AllowedLogAdapters

* Kind: `Type Alias`
* Introduced: `1.4.0`
* Source: `dist/wallet/logger/types.d.ts:44`

**Signature**

```ts theme={null}
type AllowedLogAdapters = DefaultLogAdapters | CustomLogAdapter
```

<span id="type-alias-amuletconfig" />

#### AmuletConfig

* Kind: `Type Alias`
* Introduced: `1.3.1`
* Changed in: `1.4.0`
* Source: `dist/wallet/init/types/config.d.ts:3`

**Version Changes**

| Version | Changes           |
| ------- | ----------------- |
| `1.4.0` | signature updated |

**Signature**

```ts theme={null}
type AmuletConfig = { auth: TokenProviderConfig; registryUrl: URLInput; scanApiUrl: URLInput; validatorUrl?: URLInput }
```

<span id="type-alias-amuletnamespaceconfig" />

#### AmuletNamespaceConfig

* Kind: `Type Alias`
* Introduced: `1.3.1`
* Changed in: `1.4.0`
* Source: `dist/wallet/namespace/amulet/namespace.d.ts:11`

**Version Changes**

| Version | Changes           |
| ------- | ----------------- |
| `1.4.0` | signature updated |

**Signature**

```ts theme={null}
type AmuletNamespaceConfig = { amuletService: AmuletService; commonCtx: SDKContext; registry: ParsedURL | AssetBody; tokenStandardService: TokenStandardService; validatorParty?: PartyId }
```

<span id="type-alias-assetbody" />

#### AssetBody

* Kind: `Type Alias`
* Introduced: `1.3.1`
* Changed in: `1.4.0`
* Source: `dist/wallet/namespace/asset/index.d.ts:4`

**Version Changes**

| Version | Changes           |
| ------- | ----------------- |
| `1.4.0` | signature updated |

**Signature**

```ts theme={null}
type AssetBody = { admin: PartyId; displayName: string; id: string; registryUrl: URL; symbol: string }
```

<span id="type-alias-assetconfig" />

#### AssetConfig

* Kind: `Type Alias`
* Introduced: `1.3.1`
* Changed in: `1.4.0`
* Source: `dist/wallet/init/types/config.d.ts:14`

**Version Changes**

| Version | Changes           |
| ------- | ----------------- |
| `1.4.0` | signature updated |

**Signature**

```ts theme={null}
type AssetConfig = { auth: TokenProviderConfig; registries: URLInput[] }
```

<span id="type-alias-assetcontext" />

#### AssetContext

* Kind: `Type Alias`
* Introduced: `1.3.1`
* Source: `dist/wallet/namespace/asset/index.d.ts:11`

**Signature**

```ts theme={null}
type AssetContext = { error: SDKErrorHandler; list: AssetBody[]; registries: URL[]; tokenStandardService: TokenStandardService }
```

<span id="type-alias-basicsdkinterface" />

#### BasicSDKInterface

* Kind: `Type Alias`
* Introduced: `1.3.1`
* Changed in: `1.4.0`
* Source: `dist/wallet/init/types/sdk.d.ts:47`

**Version Changes**

| Version | Changes           |
| ------- | ----------------- |
| `1.4.0` | signature updated |

**Signature**

```ts theme={null}
type BasicSDKInterface<CurrentlyExtended extends keyof ExtendedSDKOptions = never> = Readonly<{ extend: (config: Pick<ExtendedSDKOptions, ExtendedItems>) => Promise<SDKInterface<ExtendedItems | CurrentlyExtended>>; keys: KeysNamespace; ledger: LedgerNamespace; party: PartyNamespace; registerPlugins: (plugins: P) => SDKInterface<CurrentlyExtended> & RegisteredPlugins<P>; user: UserNamespace; utils: SDKUtilsNamespace }>
```

**Type Parameters**

| Name                | Constraint                 | Default | Description |
| ------------------- | -------------------------- | ------- | ----------- |
| `CurrentlyExtended` | `keyof ExtendedSDKOptions` | `never` | -           |

<span id="type-alias-basicsdkoptions" />

#### BasicSDKOptions

* Kind: `Type Alias`
* Introduced: `1.3.1`
* Changed in: `1.4.0`
* Source: `dist/wallet/init/types/sdk.d.ts:24`

**Version Changes**

| Version | Changes           |
| ------- | ----------------- |
| `1.4.0` | signature updated |

**Signature**

```ts theme={null}
type BasicSDKOptions<L extends LedgerTypes = void> = Readonly<{ logAdapter?: AllowedLogAdapters; websocketUrl?: URL | string } & { auth: TokenProviderConfig; ledgerClientUrl: URL | string } | { ledgerProvider: Provider<L> }>
```

Options for configuring the Wallet SDK instance.

**Type Parameters**

| Name | Constraint    | Default | Description |
| ---- | ------------- | ------- | ----------- |
| `L`  | `LedgerTypes` | -       | -           |

<span id="type-alias-completionevent" />

#### CompletionEvent

* Kind: `Type Alias`
* Introduced: `1.4.0`
* Source: `dist/wallet/namespace/events/types.d.ts:30`

**Signature**

```ts theme={null}
type CompletionEvent = LedgerCommonSchemas["CompletionStreamResponse"]
```

<span id="type-alias-defaultlogadapters" />

#### DefaultLogAdapters

* Kind: `Type Alias`
* Introduced: `1.4.0`
* Source: `dist/wallet/logger/types.d.ts:43`

**Signature**

```ts theme={null}
type DefaultLogAdapters = "console" | "pino"
```

<span id="type-alias-event" />

#### Event

* Kind: `Type Alias`
* Introduced: `1.3.1`
* Changed in: `1.4.0`
* Source: `dist/wallet/namespace/events/types.d.ts:31`

**Version Changes**

| Version | Changes           |
| ------- | ----------------- |
| `1.4.0` | signature updated |

**Signature**

```ts theme={null}
type Event = UpdateEvent | CompletionEvent
```

<span id="type-alias-eventsconfig" />

#### EventsConfig

* Kind: `Type Alias`
* Introduced: `1.3.1`
* Changed in: `1.4.0`
* Source: `dist/wallet/init/types/config.d.ts:18`

**Version Changes**

| Version | Changes           |
| ------- | ----------------- |
| `1.4.0` | signature updated |

**Signature**

```ts theme={null}
type EventsConfig = { auth: TokenProviderConfig; websocketURL: URLInput }
```

<span id="type-alias-executeoptions" />

#### ExecuteOptions

* Kind: `Type Alias`
* Introduced: `1.3.1`
* Source: `dist/wallet/namespace/ledger/types.d.ts:11`

**Signature**

```ts theme={null}
type ExecuteOptions = { partyId: PartyId; submissionId?: string }
```

<span id="type-alias-extendedfullsdkinterface" />

#### ExtendedFullSDKInterface

* Kind: `Type Alias`
* Introduced: `1.3.1`
* Source: `dist/wallet/init/types/sdk.d.ts:56`

**Signature**

```ts theme={null}
type ExtendedFullSDKInterface = Readonly<{ amulet: AmuletNamespace; asset: AssetNamespace; events: EventsNamespace; token: TokenNamespace }>
```

<span id="type-alias-extendedsdkinterface" />

#### ExtendedSDKInterface

* Kind: `Type Alias`
* Introduced: `1.3.1`
* Changed in: `1.4.0`
* Source: `dist/wallet/init/types/sdk.d.ts:65`

**Version Changes**

| Version | Changes           |
| ------- | ----------------- |
| `1.4.0` | signature updated |

**Signature**

```ts theme={null}
type ExtendedSDKInterface<ExtendedItems extends keyof ExtendedSDKOptions = void> = { [K in keyof Pick<ExtendedSDKOptions, ExtendedItems>]: ExtendedFullSDKInterface[K] } & { extend: (config: Pick<ExtendedSDKOptions, NewExtendedItems>) => Promise<SDKInterface<NewExtendedItems | ExtendedItems>>; registerPlugins: (plugins: P) => SDKInterface<ExtendedItems> & RegisteredPlugins<P> }
```

**Type Parameters**

| Name            | Constraint                 | Default | Description |
| --------------- | -------------------------- | ------- | ----------- |
| `ExtendedItems` | `keyof ExtendedSDKOptions` | -       | -           |

<span id="type-alias-extendedsdkoptions" />

#### ExtendedSDKOptions

* Kind: `Type Alias`
* Introduced: `1.3.1`
* Source: `dist/wallet/init/types/sdk.d.ts:37`

**Signature**

```ts theme={null}
type ExtendedSDKOptions = EnforceKeys<typeof EXTENDED_SDK_OPTION_KEYS[number], Readonly<{ amulet: AmuletConfig; asset: AssetConfig; events: EventsConfig; token: TokenConfig }>>
```

<span id="type-alias-featuredappright" />

#### FeaturedAppRight

* Kind: `Type Alias`
* Introduced: `1.3.1`
* Source: `dist/wallet/namespace/amulet/types.d.ts:19`

**Signature**

```ts theme={null}
type FeaturedAppRight = { contract_id: string; created_at: string; created_event_blob: string; payload: Record<string, never>; template_id: string }
```

<span id="type-alias-getextendedkeys" />

#### GetExtendedKeys

* Kind: `Type Alias`
* Introduced: `1.3.1`
* Source: `dist/wallet/init/types/sdk.d.ts:44`

**Signature**

```ts theme={null}
type GetExtendedKeys<T extends void = void> = { [K in keyof ExtendedSDKOptions]: K extends keyof T ? undefined extends T[K] ? never : K : never }[keyof ExtendedSDKOptions]
```

**Type Parameters**

| Name | Constraint | Default | Description |
| ---- | ---------- | ------- | ----------- |
| `T`  | -          | -       | -           |

<span id="type-alias-grantfeaturedapprightsoptions" />

#### GrantFeaturedAppRightsOptions

* Kind: `Type Alias`
* Introduced: `1.3.1`
* Changed in: `1.4.0`
* Source: `dist/wallet/namespace/amulet/types.d.ts:31`

**Version Changes**

| Version | Changes           |
| ------- | ----------------- |
| `1.4.0` | signature updated |

**Signature**

```ts theme={null}
type GrantFeaturedAppRightsOptions = { delayMs?: number; maxRetries?: number; synchronizerId?: string; validatorParty?: PartyId }
```

<span id="type-alias-ledgertypes" />

#### LedgerTypes

* Kind: `Type Alias`
* Introduced: `1.3.1`
* Source: `dist/wallet/sdk.d.ts:16`

**Signature**

```ts theme={null}
type LedgerTypes = LedgerCommonSchemas
```

<span id="type-alias-logcontext" />

#### LogContext

* Kind: `Type Alias`
* Introduced: `1.4.0`
* Source: `dist/wallet/logger/types.d.ts:18`

**Signature**

```ts theme={null}
type LogContext = Partial<{ namespace: string; partyId: PartyId; response: unknown; timestamp: string; traceId: string }>
```

Contextual metadata for log entries.

<span id="type-alias-loglevel" />

#### LogLevel

* Kind: `Type Alias`
* Introduced: `1.4.0`
* Source: `dist/wallet/logger/types.d.ts:32`

**Signature**

```ts theme={null}
type LogLevel = typeof LOG_LEVELS_TUPLE[number]
```

<span id="type-alias-lookupfeaturedapprightsoptions" />

#### LookupFeaturedAppRightsOptions

* Kind: `Type Alias`
* Introduced: `1.3.1`
* Source: `dist/wallet/namespace/amulet/types.d.ts:26`

**Signature**

```ts theme={null}
type LookupFeaturedAppRightsOptions = { delayMs?: number; maxRetries?: number; partyId: string }
```

<span id="type-alias-nullableextendedfullsdkinterface" />

#### NullableExtendedFullSDKInterface

* Kind: `Type Alias`
* Introduced: `1.3.1`
* Source: `dist/wallet/init/types/sdk.d.ts:62`

**Signature**

```ts theme={null}
type NullableExtendedFullSDKInterface = { [K in keyof ExtendedFullSDKInterface]: ExtendedFullSDKInterface[K] | null }
```

<span id="type-alias-offlinesdkcontext" />

#### OfflineSDKContext

* Kind: `Type Alias`
* Introduced: `1.3.1`
* Source: `dist/wallet/init/types/context.d.ts:11`

**Signature**

```ts theme={null}
type OfflineSDKContext = { error: SDKErrorHandler; logger: SDKLogger }
```

<span id="type-alias-offlinesdkinterface" />

#### OfflineSDKInterface

* Kind: `Type Alias`
* Introduced: `1.3.1`
* Source: `dist/wallet/init/types/sdk.d.ts:72`

**Signature**

```ts theme={null}
type OfflineSDKInterface = Readonly<{ keys: KeysNamespace; utils: SDKUtilsNamespace }>
```

<span id="type-alias-preapprovalparties" />

#### PreapprovalParties

* Kind: `Type Alias`
* Introduced: `1.3.1`
* Source: `dist/wallet/namespace/amulet/types.d.ts:2`

**Signature**

```ts theme={null}
type PreapprovalParties = { provider?: PartyId; receiver: PartyId }
```

<span id="type-alias-preparedcommand" />

#### PreparedCommand

* Kind: `Type Alias`
* Introduced: `1.3.1`
* Changed in: `1.4.0`
* Source: `dist/wallet/namespace/transactions/types.d.ts:3`

**Version Changes**

| Version | Changes           |
| ------- | ----------------- |
| `1.4.0` | signature updated |

**Signature**

```ts theme={null}
type PreparedCommand<K extends keyof RawCommandMap | keyof RawCommandMap[] = ["ExerciseCommand", "CreateCommand"]> = [K extends keyof RawCommandMap[] ? WrappedCommand<K[number]> : K extends keyof RawCommandMap ? WrappedCommand<K> : never, LedgerCommonSchemas["DisclosedContract"][]]
```

**Type Parameters**

| Name | Constraint                                     | Default                                | Description |
| ---- | ---------------------------------------------- | -------------------------------------- | ----------- |
| `K`  | `keyof RawCommandMap \| keyof RawCommandMap[]` | `["ExerciseCommand", "CreateCommand"]` | -           |

<span id="type-alias-prepareoptions" />

#### PrepareOptions

* Kind: `Type Alias`
* Introduced: `1.3.1`
* Changed in: `1.4.0`
* Source: `dist/wallet/namespace/ledger/types.d.ts:4`

**Version Changes**

| Version | Changes           |
| ------- | ----------------- |
| `1.4.0` | signature updated |

**Signature**

```ts theme={null}
type PrepareOptions = { commandId?: string; commands: WrappedCommand | WrappedCommand[] | unknown; disclosedContracts?: LedgerCommonSchemas["DisclosedContract"][]; partyId: PartyId; synchronizerId?: string }
```

<span id="type-alias-registeredplugins" />

#### RegisteredPlugins

* Kind: `Type Alias`
* Introduced: `1.3.1`
* Source: `dist/wallet/init/types/sdk.d.ts:76`

**Signature**

```ts theme={null}
type RegisteredPlugins<P extends Record<string, (ctx: SDKContext) => SDKPlugin> = Record<string, (ctx: SDKContext) => SDKPlugin>> = { [K in keyof P]: InstanceType<P[K]> }
```

**Type Parameters**

| Name | Constraint                                       | Default                                          | Description |
| ---- | ------------------------------------------------ | ------------------------------------------------ | ----------- |
| `P`  | `Record<string, (ctx: SDKContext) => SDKPlugin>` | `Record<string, (ctx: SDKContext) => SDKPlugin>` | -           |

<span id="type-alias-sdkcontext" />

#### SDKContext

* Kind: `Type Alias`
* Introduced: `1.3.1`
* Source: `dist/wallet/init/types/context.d.ts:4`

**Signature**

```ts theme={null}
type SDKContext = { defaultSynchronizerId: string; error: SDKErrorHandler; ledgerProvider: AbstractLedgerProvider; logger: SDKLogger; userId: string }
```

<span id="type-alias-sdkinterface" />

#### SDKInterface

* Kind: `Type Alias`
* Introduced: `1.3.1`
* Source: `dist/wallet/init/types/sdk.d.ts:71`

**Signature**

```ts theme={null}
type SDKInterface<ExtendedItems extends keyof ExtendedFullSDKInterface = never> = BasicSDKInterface<ExtendedItems> & ExtendedSDKInterface<ExtendedItems>
```

**Type Parameters**

| Name            | Constraint                       | Default | Description |
| --------------- | -------------------------------- | ------- | ----------- |
| `ExtendedItems` | `keyof ExtendedFullSDKInterface` | `never` | -           |

<span id="type-alias-sdkoptions" />

#### SDKOptions

* Kind: `Type Alias`
* Introduced: `1.3.1`
* Source: `dist/wallet/init/types/sdk.d.ts:43`

**Signature**

```ts theme={null}
type SDKOptions<ExtendedItems extends keyof ExtendedSDKOptions = never> = BasicSDKOptions<LedgerTypes> & Pick<ExtendedSDKOptions, ExtendedItems>
```

**Type Parameters**

| Name            | Constraint                 | Default | Description |
| --------------- | -------------------------- | ------- | ----------- |
| `ExtendedItems` | `keyof ExtendedSDKOptions` | `never` | -           |

<span id="type-alias-tokenconfig" />

#### TokenConfig

* Kind: `Type Alias`
* Introduced: `1.3.1`
* Changed in: `1.4.0`
* Source: `dist/wallet/init/types/config.d.ts:9`

**Version Changes**

| Version | Changes           |
| ------- | ----------------- |
| `1.4.0` | signature updated |

**Signature**

```ts theme={null}
type TokenConfig = { auth: TokenProviderConfig; registries: URLInput[]; validatorUrl?: URLInput }
```

<span id="type-alias-tokennamespaceconfig" />

#### TokenNamespaceConfig

* Kind: `Type Alias`
* Introduced: `1.3.1`
* Changed in: `1.4.0`
* Source: `dist/wallet/namespace/token/namespace.d.ts:9`

**Version Changes**

| Version | Changes           |
| ------- | ----------------- |
| `1.4.0` | signature updated |

**Signature**

```ts theme={null}
type TokenNamespaceConfig = { commonCtx: SDKContext; registryUrls: ParsedURL[]; tokenStandardService: TokenStandardService; validatorParty?: PartyId }
```

<span id="type-alias-tokenproviderconfig" />

#### TokenProviderConfig

* Kind: `Type Alias`
* Introduced: `1.3.1`
* Source: `node_modules/@canton-network/core-wallet-auth/dist/auth-token-provider.d.ts:4`

**Signature**

```ts theme={null}
type TokenProviderConfig = { method: "static"; token: string } | { credentials: ClientCredentials; issuer: string; method: "self_signed" } | { configUrl: string; credentials: ClientCredentials; method: "client_credentials" }
```

<span id="type-alias-updateevent" />

#### UpdateEvent

* Kind: `Type Alias`
* Introduced: `1.4.0`
* Source: `dist/wallet/namespace/events/types.d.ts:29`

**Signature**

```ts theme={null}
type UpdateEvent = LedgerCommonSchemas["JsGetUpdatesResponse"]
```

### Variables

<span id="variable-extended-sdk-option-keys" />

#### EXTENDED\_SDK\_OPTION\_KEYS

* Kind: `Variable`
* Introduced: `1.3.1`
* Source: `dist/wallet/init/types/sdk.d.ts:33`

**Signature**

```ts theme={null}
const EXTENDED_SDK_OPTION_KEYS: readonly ["amulet", "token", "asset", "events"]
```

<span id="variable-localnetstaticconfig" />

#### localNetStaticConfig

* Kind: `Variable`
* Introduced: `1.3.1`
* Source: `dist/config.d.ts:1`

**Signature**

```ts theme={null}
const localNetStaticConfig: { LOCALNET_APP_USER_LEDGER_URL: URL; LOCALNET_APP_VALIDATOR_URL: URL; LOCALNET_REGISTRY_API_URL: URL; LOCALNET_SCAN_API_URL: URL; LOCALNET_TOKEN_STANDARD_URL: URL; LOCALNET_USER_ID: string }
```

### Functions

<span id="function-fetchamulet" />

#### fetchAmulet

* Kind: `Function`
* Introduced: `1.3.1`
* Source: `dist/wallet/namespace/amulet/namespace.d.ts:65`

**Signature**

```ts theme={null}
fetchAmulet(amuletCtx: AmuletNamespaceConfig): Promise<AssetBody>
```

**Call Signatures**

```ts theme={null}
fetchAmulet(amuletCtx: AmuletNamespaceConfig): Promise<AssetBody>
```

| Parameter   | Type                    | Required | Description |
| ----------- | ----------------------- | -------- | ----------- |
| `amuletCtx` | `AmuletNamespaceConfig` | yes      | -           |

Returns: `Promise<AssetBody>`

<span id="function-findasset" />

#### findAsset

* Kind: `Function`
* Introduced: `1.3.1`
* Changed in: `1.4.0`
* Source: `dist/wallet/namespace/asset/index.d.ts:23`

**Version Changes**

| Version | Changes                 |
| ------- | ----------------------- |
| `1.4.0` | call signatures updated |

**Signature**

```ts theme={null}
findAsset(assets: AssetBody[], id: string, error: SDKErrorHandler, registryUrl?: URL): AssetBody
```

**Call Signatures**

```ts theme={null}
findAsset(assets: AssetBody[], id: string, error: SDKErrorHandler, registryUrl?: URL): AssetBody
```

| Parameter     | Type              | Required | Description |
| ------------- | ----------------- | -------- | ----------- |
| `assets`      | `AssetBody[]`     | yes      | -           |
| `id`          | `string`          | yes      | -           |
| `error`       | `SDKErrorHandler` | yes      | -           |
| `registryUrl` | `URL`             | no       | -           |

Returns: `AssetBody`

<span id="function-getpublickeyfromprivate" />

#### getPublicKeyFromPrivate

* Kind: `Function`
* Introduced: `1.3.1`
* Source: `node_modules/@canton-network/core-signing-lib/dist/index.d.ts:30`

**Signature**

```ts theme={null}
getPublicKeyFromPrivate(privateKeyBase64: string): string
```

**Call Signatures**

```ts theme={null}
getPublicKeyFromPrivate(privateKeyBase64: string): string
```

| Parameter          | Type     | Required | Description |
| ------------------ | -------- | -------- | ----------- |
| `privateKeyBase64` | `string` | yes      | -           |

Returns: `string`

<span id="function-getvalidatorparty" />

#### getValidatorParty

* Kind: `Function`
* Introduced: `1.4.0`
* Source: `dist/wallet/sdk.d.ts:31`

**Signature**

```ts theme={null}
getValidatorParty(validatorUrl: URL, auth: AuthTokenProvider | TokenProviderConfig, sdkLogger?: SDKLogger): Promise<string>
```

**Call Signatures**

```ts theme={null}
getValidatorParty(validatorUrl: URL, auth: AuthTokenProvider | TokenProviderConfig, sdkLogger?: SDKLogger): Promise<string>
```

| Parameter      | Type                                       | Required | Description |
| -------------- | ------------------------------------------ | -------- | ----------- |
| `validatorUrl` | `URL`                                      | yes      | -           |
| `auth`         | `AuthTokenProvider \| TokenProviderConfig` | yes      | -           |
| `sdkLogger`    | `SDKLogger`                                | no       | -           |

Returns: `Promise<string>`

<span id="function-signtransactionhash" />

#### signTransactionHash

* Kind: `Function`
* Introduced: `1.3.1`
* Source: `node_modules/@canton-network/core-signing-lib/dist/index.d.ts:28`

**Signature**

```ts theme={null}
signTransactionHash(txHash: string, privateKey: string): string
```

**Call Signatures**

```ts theme={null}
signTransactionHash(txHash: string, privateKey: string): string
```

| Parameter    | Type     | Required | Description |
| ------------ | -------- | -------- | ----------- |
| `txHash`     | `string` | yes      | -           |
| `privateKey` | `string` | yes      | -           |

Returns: `string`
