> ## Documentation Index
> Fetch the complete documentation index at: https://docs.canton.network/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> If you are building a Canton Network application, start from https://docs.canton.network/appdev/quickstart.md. To run only a local network for your own Daml code, without building the QuickStart demo, see https://docs.canton.network/sdks-tools/development-tools/localnet.md.

# Wallet SDK

> TypeScript client library reference for wallet integrations.

TypeScript package

# Wallet SDK

TypeScript client library reference for wallet integrations.

TypeScript

[Added 1.7.0](#history-added-1-7-0)

[Updated 1.7.0](#history-updated-1-7-0)

[Exports removed in 1.5.1](#history-removed-1-5-1)

Package
@canton-network/wallet-sdk

Current release
1.7.0

Compared releases
8

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` | `1.5.0`: members added: `isDevNet` | - | - |
| [`AssetNamespace`](#class-assetnamespace) | Class | - | `1.3.1` | `1.4.0`: details updated\<br/>`1.5.0`: details updated\<br/>`1.6.0`: details updated | - | - |
| [`CustomLogAdapter`](#class-customlogadapter) | Class | 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. | `1.4.0` | - | - | - |
| [`ExtendedInitializedSDK`](#class-extendedinitializedsdk) | Class | - | `1.3.1` | `1.4.0`: details updated\<br/>`1.5.0`: details updated\<br/>`1.5.2`: details updated | - | - |
| [`InitializedSDK`](#class-initializedsdk) | Class | - | `1.3.1` | `1.4.0`: type parameters added: `CurrentlyExtended`\<br/>`1.5.0`: details updated\<br/>`1.5.2`: details updated | - | - |
| [`LedgerProvider`](#class-ledgerprovider) | Class | - | `1.3.1` | - | - | - |
| [`OfflineInitializedSDK`](#class-offlineinitializedsdk) | Class | - | `1.3.1` | - | - | - |
| [`PreapprovalNamespace`](#class-preapprovalnamespace) | Class | - | `1.3.1` | `1.5.0`: details updated | - | - |
| [`PreparedTransaction`](#class-preparedtransaction) | Class | - | `1.3.1` | `1.5.1`: details updated\<br/>`1.6.0`: members updated: `preparedPromise`\<br/>`1.7.0`: members updated: `preparedPromise` | - | - |
| [`ScanProxyClient`](#class-scanproxyclient) | Class | - | `1.5.0` | `1.7.0`: details updated | - | - |
| [`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`\<br/>`1.5.0`: type parameters added: `ExtendedNamespaceItems`; members updated: `_ctx`, `ctx`\<br/>`1.5.2`: type parameters added: `Name`; members updated: `name` | - | - |
| [`SignedTransaction`](#class-signedtransaction) | Class | - | `1.3.1` | `1.5.1`: details updated\<br/>`1.6.0`: members updated: `signedPromise`\<br/>`1.7.0`: members updated: `signedPromise` | - | - |
| [`SynchronizerResolver`](#class-synchronizerresolver) | Class | - | `1.7.0` | - | - | - |
| [`TokenNamespace`](#class-tokennamespace) | Class | - | `1.3.1` | `1.5.0`: members added: `assets`, `find`\<br/>`1.6.0`: members added: `v1`, `v2`\<br/>`1.7.0`: details updated | - | - |
| [`FeaturedAppService`](#interface-featuredappservice) | Interface | - | `1.3.1` | `1.6.0`: members added: `revoke` | - | - |
| [`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\<br/>`1.5.0`: signature updated | - | - |
| [`AmuletNamespaceConfig`](#type-alias-amuletnamespaceconfig) | Type Alias | - | `1.3.1` | `1.4.0`: signature updated\<br/>`1.6.0`: details updated | - | - |
| [`AssetBody`](#type-alias-assetbody) | Type Alias | - | `1.3.1` | `1.4.0`: signature updated\<br/>`1.6.0`: signature updated | - | - |
| [`AssetConfig`](#type-alias-assetconfig) | Type Alias | - | `1.3.1` | `1.4.0`: signature updated\<br/>`1.5.0`: signature updated | - | - |
| [`AssetContext`](#type-alias-assetcontext) | Type Alias | - | `1.3.1` | `1.5.0`: signature updated\<br/>`1.6.0`: details updated\<br/>`1.7.0`: details updated | - | - |
| [`BasicSDKInterface`](#type-alias-basicsdkinterface) | Type Alias | - | `1.3.1` | `1.4.0`: signature updated\<br/>`1.5.0`: details updated\<br/>`1.5.2`: signature updated | - | - |
| [`BasicSDKOptions`](#type-alias-basicsdkoptions) | Type Alias | Options for configuring the Wallet SDK instance. | `1.3.1` | `1.4.0`: signature updated\<br/>`1.7.0`: signature updated | - | - |
| [`CompletionEvent`](#type-alias-completionevent) | Type Alias | - | `1.4.0` | `1.5.1`: details updated | - | - |
| [`ConnectedSynchronizer`](#type-alias-connectedsynchronizer) | Type Alias | - | `1.7.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\<br/>`1.5.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 | - | - |
| [`LedgerCommonSchemas`](#type-alias-ledgercommonschemas) | Type Alias | - | `1.5.1` | `1.7.0`: signature updated | - | - |
| [`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` | - | - | - |
| [`PluginConstructor`](#type-alias-pluginconstructor) | Type Alias | - | `1.5.0` | - | - | - |
| [`PluginRegistration`](#type-alias-pluginregistration) | Type Alias | Represents the registration of plugins, either as an array of plugin constructors or as a record mapping names to plugin constructors. Enforces use of SdkPlugin\<'pluginName'> for plugins if used with array registration to enforce type safety. | `1.5.2` | - | - | - |
| [`PreapprovalParties`](#type-alias-preapprovalparties) | Type Alias | - | `1.3.1` | - | - | - |
| [`PreparedCommand`](#type-alias-preparedcommand) | Type Alias | - | `1.3.1` | `1.4.0`: signature updated\<br/>`1.5.0`: details updated\<br/>`1.5.1`: details updated | - | - |
| [`PrepareOptions`](#type-alias-prepareoptions) | Type Alias | - | `1.3.1` | `1.4.0`: signature updated\<br/>`1.5.0`: details updated\<br/>`1.5.1`: details updated | - | - |
| [`RegisteredPlugins`](#type-alias-registeredplugins) | Type Alias | - | `1.3.1` | `1.5.0`: signature updated; type parameters updated: `P` | - | - |
| [`RegistryAuth`](#type-alias-registryauth) | Type Alias | - | `1.5.0` | - | - | - |
| [`RevokeFeaturedAppRightsOptions`](#type-alias-revokefeaturedapprightsoptions) | Type Alias | - | `1.6.0` | - | - | - |
| [`SDKContext`](#type-alias-sdkcontext) | Type Alias | - | `1.3.1` | `1.7.0`: signature updated | - | - |
| [`SDKInterface`](#type-alias-sdkinterface) | Type Alias | - | `1.3.1` | - | - | - |
| [`SDKOptions`](#type-alias-sdkoptions) | Type Alias | - | `1.3.1` | - | - | - |
| [`SDKPluginContext`](#type-alias-sdkplugincontext) | Type Alias | - | `1.5.0` | - | - | - |
| [`SynchronizerIdOption`](#type-alias-synchronizeridoption) | Type Alias | - | `1.7.0` | - | - | - |
| [`SynchronizerSelector`](#type-alias-synchronizerselector) | Type Alias | Picks the synchronizer an SDK instance should default to, given everything the participant is connected to. Supplied by the caller — the SDK never guesses. | `1.7.0` | - | - | - |
| [`TokenConfig`](#type-alias-tokenconfig) | Type Alias | - | `1.3.1` | `1.4.0`: signature updated\<br/>`1.5.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` | `1.5.1`: details updated | - | - |
| [`LedgerTypes`](#type-alias-ledgertypes) | Type Alias | - | `1.3.1` | - | - | `1.5.1` |
| [`EXTENDED_SDK_OPTION_KEYS`](#variable-extended-sdk-option-keys) | Variable | - | `1.3.1` | - | - | - |
| [`localNetStaticConfig`](#variable-localnetstaticconfig) | Variable | - | `1.3.1` | `1.5.0`: signature updated | - | - |
| [`fetchAmulet`](#function-fetchamulet) | Function | - | `1.3.1` | `1.6.0`: details updated | - | - |
| [`findAsset`](#function-findasset) | Function | - | `1.3.1` | `1.4.0`: call signatures updated\<br/>`1.5.0`: call signatures updated\<br/>`1.6.0`: details updated | - | - |
| [`getPublicKeyFromPrivate`](#function-getpublickeyfromprivate) | Function | - | `1.3.1` | - | - | - |
| [`getValidatorParty`](#function-getvalidatorparty) | Function | - | `1.4.0` | `1.7.0`: call signatures updated | - | - |
| [`resolveCapabilities`](#function-resolvecapabilities) | Function | - | `1.6.0` | - | - | - |
| [`signTransactionHash`](#function-signtransactionhash) | Function | - | `1.3.1` | - | - | - |

## Reference

### Classes

#### AmuletNamespace

Class

[Updated 1.5.0](#history-updated-1-5-0)

* Kind: `Class`
* Source: `dist/wallet/namespace/amulet/namespace.d.ts:17`

**Members**

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

#### AssetNamespace

Class

[Updated 1.6.0](#history-updated-1-6-0)

* Kind: `Class`
* Source: `dist/wallet/namespace/asset/index.d.ts:12`

**Members**

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

#### CustomLogAdapter

Class

[Added 1.4.0](#history-added-1-4-0)

* Kind: `Class`
* 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` | - |

#### ExtendedInitializedSDK

Class

[Updated 1.5.2](#history-updated-1-5-2)

* Kind: `Class`
* Source: `dist/wallet/init/initializedSDK.d.ts:33`

**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` | - |

#### InitializedSDK

Class

[Updated 1.5.2](#history-updated-1-5-2)

* Kind: `Class`
* Source: `dist/wallet/init/initializedSDK.d.ts:12`

**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` | - |

#### LedgerProvider

Class

* Kind: `Class`
* 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` | - |

#### OfflineInitializedSDK

Class

* Kind: `Class`
* Source: `dist/wallet/init/initializedSDK.d.ts:27`

**Members**

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

#### PreapprovalNamespace

Class

[Updated 1.5.0](#history-updated-1-5-0)

* Kind: `Class`
* 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. Transfer preapprovals allow receivers to automatically accept incoming transfers. |
| `fetchQuick` | `void` | - |
| `fetchStatus` | `void` | - |
| `renew` | `void` | - |

#### PreparedTransaction

Class

[Updated 1.7.0](#history-updated-1-7-0)

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

**Members**

| Member | Type | Description |
| - | - | - |
| `constructor` | `void` | - |
| `preparedPromise` | `Promise<{ costEstimation?: { confirmationRequestTrafficCostEstimation: number; confirmationResponseTrafficCostEstimation: number; estimationTimestamp: string; reassignmentCosts?: { assignmentRequestTrafficCostEstimation: number; assignmentResponseTrafficCostEstimation: number; contractIds: string[]; sourceSynchronizerId: string; targetSynchronizerId: string; totalReassignmentCostEstimation: number; unassignmentRequestTrafficCostEstimation: number; unassignmentResponseTrafficCostEstimation: number }[]; totalTrafficCostEstimation: number }; hashingDetails?: string; hashingSchemeVersion: "HASHING_SCHEME_VERSION_UNSPECIFIED" \| "HASHING_SCHEME_VERSION_V2" \| "HASHING_SCHEME_VERSION_V3" \| "HASHING_SCHEME_VERSION_V4"; preparedTransaction: string; preparedTransactionHash: string }>` | - |
| `decode` | `void` | - |
| `sign` | `void` | - |
| `toJSON` | `void` | - |

#### ScanProxyClient

Class

[Added 1.5.0](#history-added-1-5-0)

[Updated 1.7.0](#history-updated-1-7-0)

* Kind: `Class`
* Source: `node_modules/@canton-network/core-splice-client/dist/scan-proxy-client.d.ts:45`

**Members**

| Member | Type | Description |
| - | - | - |
| `constructor` | `void` | - |
| `get` | `void` | - |
| `getActiveOpenMiningRound` | `void` | - |
| `getAmuletRules` | `void` | - |
| `getAmuletSynchronizerId` | `void` | - |
| `getOpenMiningRounds` | `void` | - |
| `isDevNet` | `void` | - |
| `post` | `void` | - |
| `invalidateAmuletRulesCache` | `void` | - |
| `invalidateOpenMiningRoundsCache` | `void` | - |

#### SDK

Class

[Updated 1.4.0](#history-updated-1-4-0)

* Kind: `Class`
* Source: `dist/wallet/sdk.d.ts:22`

**Members**

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

#### SDKPlugin

Class

[Updated 1.5.2](#history-updated-1-5-2)

* Kind: `Class`
* Source: `dist/wallet/init/plugin.d.ts:7`

**Type Parameters**

| Name | Constraint | Default | Description |
| - | - | - | - |
| `Name` | `string` | `string` | - |
| `ExtendedNamespaceItems` | `keyof ExtendedFullSDKInterface` | `never` | - |

**Members**

| Member | Type | Description |
| - | - | - |
| `constructor` | `void` | - |
| `_ctx` | `SDKPluginContext<ExtendedNamespaceItems>` | - |
| `ctx` | `SDKPluginContext<ExtendedNamespaceItems>` | - |
| `logger` | `SDKLogger` | - |
| `name` | `Name` | - |

#### SignedTransaction

Class

[Updated 1.7.0](#history-updated-1-7-0)

* Kind: `Class`
* 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; reassignmentCosts?: { assignmentRequestTrafficCostEstimation: number; assignmentResponseTrafficCostEstimation: number; contractIds: string[]; sourceSynchronizerId: string; targetSynchronizerId: string; totalReassignmentCostEstimation: number; unassignmentRequestTrafficCostEstimation: number; unassignmentResponseTrafficCostEstimation: number }[]; totalTrafficCostEstimation: number }; hashingDetails?: string; hashingSchemeVersion: "HASHING_SCHEME_VERSION_UNSPECIFIED" \| "HASHING_SCHEME_VERSION_V2" \| "HASHING_SCHEME_VERSION_V3" \| "HASHING_SCHEME_VERSION_V4"; preparedTransaction: string; preparedTransactionHash: string }; signature: string }>` | - |
| `execute` | `void` | - |
| `response` | `void` | - |
| `signature` | `void` | - |

#### SynchronizerResolver

Class

[Added 1.7.0](#history-added-1-7-0)

* Kind: `Class`
* Source: `dist/wallet/init/synchronizer.d.ts:12`

**Members**

| Member | Type | Description |
| - | - | - |
| `constructor` | `void` | - |
| `fetchConnectedSynchronizers` | `void` | - |
| `requireSynchronizerId` | `void` | - |
| `resolveDefaultSynchronizerId` | `void` | - |

#### TokenNamespace

Class

[Updated 1.7.0](#history-updated-1-7-0)

* Kind: `Class`
* Source: `dist/wallet/namespace/token/namespace.d.ts:16`

**Members**

| Member | Type | Description |
| - | - | - |
| `constructor` | `void` | - |
| `allocation` | `AllocationNamespace` | - |
| `transfer` | `TransferNamespace` | - |
| `utxos` | `UtxoNamespace` | - |
| `v1` | `{ readonly allocation: AllocationNamespace; readonly transfer: TransferNamespace; readonly utxos: UtxoNamespace }` | - |
| `v2` | `TokenV2Namespace` | - |
| `assets` | `void` | - |
| `find` | `void` | - |
| `holdings` | `void` | - |
| `transactionsById` | `void` | - |

### Interfaces

#### FeaturedAppService

Interface

[Updated 1.6.0](#history-updated-1-6-0)

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
interface FeaturedAppService
```

**Members**

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

#### LogAdapter

Interface

[Added 1.4.0](#history-added-1-4-0)

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
interface LogAdapter
```

**Members**

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

### Type Aliases

#### AllowedLogAdapters

Type Alias

[Added 1.4.0](#history-added-1-4-0)

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type AllowedLogAdapters = DefaultLogAdapters | CustomLogAdapter
```

#### AmuletConfig

Type Alias

[Updated 1.5.0](#history-updated-1-5-0)

* Kind: `Type Alias`
* Source: `dist/wallet/init/types/config.d.ts:12`

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type AmuletConfig = RegistryAuthConfig & { auth: TokenProviderConfig; registryUrl: URLInput; scanApiUrl: URLInput; validatorUrl?: URLInput }
```

#### AmuletNamespaceConfig

Type Alias

[Updated 1.6.0](#history-updated-1-6-0)

* Kind: `Type Alias`
* Source: `dist/wallet/namespace/amulet/namespace.d.ts:10`

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type AmuletNamespaceConfig = { amuletService: AmuletService; commonCtx: SDKContext; registry: ParsedURL | AssetBody; tokenStandardService: TokenStandardService; validatorParty?: PartyId }
```

#### AssetBody

Type Alias

[Updated 1.6.0](#history-updated-1-6-0)

* Kind: `Type Alias`
* Source: `node_modules/@canton-network/core-token-standard-service/dist/types.d.ts:53`

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type AssetBody = { admin: PartyId; capabilities: AssetCapabilities; displayName: string; id: string; registryUrl: URL; symbol: string }
```

#### AssetConfig

Type Alias

[Updated 1.5.0](#history-updated-1-5-0)

* Kind: `Type Alias`
* Source: `dist/wallet/init/types/config.d.ts:23`

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type AssetConfig = RegistryAuthConfig & { auth: TokenProviderConfig; registries: URLInput[] }
```

#### AssetContext

Type Alias

[Updated 1.7.0](#history-updated-1-7-0)

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type AssetContext = { commonCtx: SDKContext; error: SDKErrorHandler; list: AssetBody[]; registries: URL[]; tokenStandardService: TokenStandardService }
```

#### BasicSDKInterface

Type Alias

[Updated 1.5.2](#history-updated-1-5-2)

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
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: PluginRegistration<P>) => SDKInterface<CurrentlyExtended> & RegisteredPlugins<P>; user: UserNamespace; utils: SDKUtilsNamespace }>
```

**Type Parameters**

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

#### BasicSDKOptions

Type Alias

[Updated 1.7.0](#history-updated-1-7-0)

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type BasicSDKOptions<L extends LedgerTypes = void> = Readonly<{ logAdapter?: AllowedLogAdapters; synchronizerId?: SynchronizerIdOption; 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` | - | - |

#### CompletionEvent

Type Alias

[Added 1.4.0](#history-added-1-4-0)

[Updated 1.5.1](#history-updated-1-5-1)

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type CompletionEvent = LedgerCommonSchemas["CompletionStreamResponse"]
```

#### ConnectedSynchronizer

Type Alias

[Added 1.7.0](#history-added-1-7-0)

* Kind: `Type Alias`
* Source: `dist/wallet/init/synchronizer.d.ts:4`

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type ConnectedSynchronizer = NonNullable<Ops.GetV2StateConnectedSynchronizers["ledgerApi"]["result"]["connectedSynchronizers"]>[number]
```

#### DefaultLogAdapters

Type Alias

[Added 1.4.0](#history-added-1-4-0)

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type DefaultLogAdapters = "console" | "pino"
```

#### Event

Type Alias

[Updated 1.4.0](#history-updated-1-4-0)

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type Event = UpdateEvent | CompletionEvent
```

#### EventsConfig

Type Alias

[Updated 1.4.0](#history-updated-1-4-0)

* Kind: `Type Alias`
* Source: `dist/wallet/init/types/config.d.ts:27`

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type EventsConfig = { auth: TokenProviderConfig; websocketURL: URLInput }
```

#### ExecuteOptions

Type Alias

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type ExecuteOptions = { partyId: PartyId; submissionId?: string }
```

#### ExtendedFullSDKInterface

Type Alias

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type ExtendedFullSDKInterface = Readonly<{ amulet: AmuletNamespace; asset: AssetNamespace; events: EventsNamespace; token: TokenNamespace }>
```

#### ExtendedSDKInterface

Type Alias

[Updated 1.5.0](#history-updated-1-5-0)

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type ExtendedSDKInterface<ExtendedItems extends keyof ExtendedSDKOptions = void> = { [K in keyof Pick<ExtendedSDKOptions, ExtendedItems>]: ExtendedFullSDKInterface[K] }
```

**Type Parameters**

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

#### ExtendedSDKOptions

Type Alias

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

**Signature**

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

#### FeaturedAppRight

Type Alias

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type FeaturedAppRight = { contract_id: string; created_at: string; created_event_blob: string; payload: Record<string, never>; template_id: string }
```

#### GetExtendedKeys

Type Alias

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
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` | - | - | - |

#### GrantFeaturedAppRightsOptions

Type Alias

[Updated 1.4.0](#history-updated-1-4-0)

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type GrantFeaturedAppRightsOptions = { delayMs?: number; maxRetries?: number; synchronizerId?: string; validatorParty?: PartyId }
```

#### LedgerCommonSchemas

Type Alias

[Added 1.5.1](#history-added-1-5-1)

[Updated 1.7.0](#history-updated-1-7-0)

* Kind: `Type Alias`
* Source: `node_modules/@canton-network/core-ledger-client-types/dist/index.d.ts:35`

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type LedgerCommonSchemas = Union<LedgerSchemasByVersion["3.6"], LedgerSchemasByVersion["3.7"]>
```

#### LogContext

Type Alias

[Added 1.4.0](#history-added-1-4-0)

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type LogContext = Partial<{ namespace: string; partyId: PartyId; response: unknown; timestamp: string; traceId: string }>
```

Contextual metadata for log entries.

#### LogLevel

Type Alias

[Added 1.4.0](#history-added-1-4-0)

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type LogLevel = typeof LOG_LEVELS_TUPLE[number]
```

#### LookupFeaturedAppRightsOptions

Type Alias

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type LookupFeaturedAppRightsOptions = { delayMs?: number; maxRetries?: number; partyId: string }
```

#### NullableExtendedFullSDKInterface

Type Alias

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type NullableExtendedFullSDKInterface = { [K in keyof ExtendedFullSDKInterface]: ExtendedFullSDKInterface[K] | null }
```

#### OfflineSDKContext

Type Alias

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type OfflineSDKContext = { error: SDKErrorHandler; logger: SDKLogger }
```

#### OfflineSDKInterface

Type Alias

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type OfflineSDKInterface = Readonly<{ keys: KeysNamespace; utils: SDKUtilsNamespace }>
```

#### PluginConstructor

Type Alias

[Added 1.5.0](#history-added-1-5-0)

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type PluginConstructor = (ctx: SDKPluginContext) => SDKPlugin
```

#### PluginRegistration

Type Alias

[Added 1.5.2](#history-added-1-5-2)

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type PluginRegistration<P extends PluginConstructor[] | Record<string, PluginConstructor> = void> = P & P extends PluginConstructor[] ? string extends InstanceType<P[number]>["name"] ? never : unknown : unknown
```

Represents the registration of plugins, either as an array of plugin constructors or as a record mapping names to plugin constructors.
Enforces use of SdkPlugin\<'pluginName'> for plugins if used with array registration to enforce type safety.

**Type Parameters**

| Name | Constraint | Default | Description |
| - | - | - | - |
| `P` | `PluginConstructor[] \| Record<string, PluginConstructor>` | - | - |

#### PreapprovalParties

Type Alias

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type PreapprovalParties = { provider?: PartyId; receiver: PartyId }
```

#### PreparedCommand

Type Alias

[Updated 1.5.1](#history-updated-1-5-1)

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
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"]` | - |

#### PrepareOptions

Type Alias

[Updated 1.5.1](#history-updated-1-5-1)

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

**Signature**

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

#### RegisteredPlugins

Type Alias

[Updated 1.5.0](#history-updated-1-5-0)

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type RegisteredPlugins<P extends PluginConstructor[] | Record<string, PluginConstructor> = PluginConstructor[]> = P extends PluginConstructor[] ? { [K in InstanceType<P[number]>["name"]]: Extract<InstanceType<P[number]>, { name: K }> } : P extends Record<string, PluginConstructor> ? { [K in keyof P]: InstanceType<P[K]> } : never
```

**Type Parameters**

| Name | Constraint | Default | Description |
| - | - | - | - |
| `P` | `PluginConstructor[] \| Record<string, PluginConstructor>` | `PluginConstructor[]` | - |

#### RegistryAuth

Type Alias

[Added 1.5.0](#history-added-1-5-0)

* Kind: `Type Alias`
* Source: `dist/wallet/init/types/config.d.ts:3`

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type RegistryAuth = TokenProviderConfig | "none"
```

#### RevokeFeaturedAppRightsOptions

Type Alias

[Added 1.6.0](#history-added-1-6-0)

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type RevokeFeaturedAppRightsOptions = { delayMs?: number; maxRetries?: number; synchronizerId?: string; validatorParty?: PartyId }
```

#### SDKContext

Type Alias

[Updated 1.7.0](#history-updated-1-7-0)

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type SDKContext = { defaultSynchronizerId?: string; error: SDKErrorHandler; ledgerProvider: AbstractLedgerProvider; logger: SDKLogger; userId: string }
```

#### SDKInterface

Type Alias

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type SDKInterface<ExtendedItems extends keyof ExtendedFullSDKInterface = never> = BasicSDKInterface<ExtendedItems> & ExtendedSDKInterface<ExtendedItems>
```

**Type Parameters**

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

#### SDKOptions

Type Alias

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type SDKOptions<ExtendedItems extends keyof ExtendedSDKOptions = never> = BasicSDKOptions<LedgerTypes> & Pick<ExtendedSDKOptions, ExtendedItems>
```

**Type Parameters**

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

#### SDKPluginContext

Type Alias

[Added 1.5.0](#history-added-1-5-0)

* Kind: `Type Alias`
* Source: `dist/wallet/init/plugin.d.ts:4`

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type SDKPluginContext<ExtendedItems extends keyof ExtendedFullSDKInterface = never> = SDKContext & { namespace: Omit<SDKInterface<ExtendedItems>, "extend" | "registerPlugins"> }
```

**Type Parameters**

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

#### SynchronizerIdOption

Type Alias

[Added 1.7.0](#history-added-1-7-0)

* Kind: `Type Alias`
* Source: `dist/wallet/init/synchronizer.d.ts:10`

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type SynchronizerIdOption = string | SynchronizerSelector
```

#### SynchronizerSelector

Type Alias

[Added 1.7.0](#history-added-1-7-0)

* Kind: `Type Alias`
* Source: `dist/wallet/init/synchronizer.d.ts:9`

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type SynchronizerSelector = (synchronizers: readonly ConnectedSynchronizer[]) => string
```

Picks the synchronizer an SDK instance should default to, given everything the
participant is connected to. Supplied by the caller — the SDK never guesses.

#### TokenConfig

Type Alias

[Updated 1.5.0](#history-updated-1-5-0)

* Kind: `Type Alias`
* Source: `dist/wallet/init/types/config.d.ts:18`

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type TokenConfig = RegistryAuthConfig & { auth: TokenProviderConfig; registries: URLInput[]; validatorUrl?: URLInput }
```

#### TokenNamespaceConfig

Type Alias

[Updated 1.4.0](#history-updated-1-4-0)

* Kind: `Type Alias`
* Source: `dist/wallet/namespace/token/namespace.d.ts:10`

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type TokenNamespaceConfig = { commonCtx: SDKContext; registryUrls: ParsedURL[]; tokenStandardService: TokenStandardService; validatorParty?: PartyId }
```

#### TokenProviderConfig

Type Alias

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type TokenProviderConfig = { method: "static"; token: string } | { credentials: ClientCredentials; issuer: string; keyId?: string; method: "self_signed" } | { configUrl: string; credentials: ClientCredentials; method: "client_credentials" }
```

#### UpdateEvent

Type Alias

[Added 1.4.0](#history-added-1-4-0)

[Updated 1.5.1](#history-updated-1-5-1)

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type UpdateEvent = LedgerCommonSchemas["JsGetUpdatesResponse"]
```

#### LedgerTypes

Type Alias

[Removed in 1.5.1](#history-removed-1-5-1)

* Kind: `Type Alias`
* Removed in 1.5.1. Retained for historical reference.
* Source: `dist/wallet/sdk.d.ts:16`

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
type LedgerTypes = LedgerCommonSchemas
```

### Variables

#### EXTENDED\_SDK\_OPTION\_KEYS

Variable

* Kind: `Variable`
* Source: `dist/wallet/init/types/sdk.d.ts:37`

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
const EXTENDED_SDK_OPTION_KEYS: readonly ["amulet", "token", "asset", "events"]
```

#### localNetStaticConfig

Variable

[Updated 1.5.0](#history-updated-1-5-0)

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
const localNetStaticConfig: { LOCALNET_APP_PROVIDER_LEDGER_URL: URL; LOCALNET_APP_USER_LEDGER_URL: URL; LOCALNET_APP_VALIDATOR_URL: URL; LOCALNET_REGISTRY_API_URL: URL; LOCALNET_SCAN_API_URL: URL; LOCALNET_SV_LEDGER_URL: URL; LOCALNET_TOKEN_STANDARD_URL: URL; LOCALNET_USER_ID: string }
```

### Functions

#### fetchAmulet

Function

[Updated 1.6.0](#history-updated-1-6-0)

* Kind: `Function`
* Source: `dist/wallet/namespace/amulet/namespace.d.ts:77`

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
fetchAmulet(amuletCtx: AmuletNamespaceConfig): Promise<AssetBody>
```

**Call Signatures**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
fetchAmulet(amuletCtx: AmuletNamespaceConfig): Promise<AssetBody>
```

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

Returns: `Promise<AssetBody>`

#### findAsset

Function

[Updated 1.6.0](#history-updated-1-6-0)

* Kind: `Function`
* Source: `dist/wallet/namespace/asset/index.d.ts:18`

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
findAsset(assets: AssetBody[], id: string, error: SDKErrorHandler, registryUrl?: ParsedURL): AssetBody
```

**Call Signatures**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
findAsset(assets: AssetBody[], id: string, error: SDKErrorHandler, registryUrl?: ParsedURL): AssetBody
```

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

Returns: `AssetBody`

#### getPublicKeyFromPrivate

Function

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
getPublicKeyFromPrivate(privateKeyBase64: string): string
```

**Call Signatures**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
getPublicKeyFromPrivate(privateKeyBase64: string): string
```

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

Returns: `string`

#### getValidatorParty

Function

[Added 1.4.0](#history-added-1-4-0)

[Updated 1.7.0](#history-updated-1-7-0)

* Kind: `Function`
* Source: `dist/wallet/sdk.d.ts:32`

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
getValidatorParty(validatorUrl: URL, auth: AuthTokenProvider | TokenProviderConfig): Promise<string>
```

**Call Signatures**

Overload 1:

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
getValidatorParty(validatorUrl: URL, auth: AuthTokenProvider | TokenProviderConfig): Promise<string>
```

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

Returns: `Promise<string>`

Overload 2:

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
getValidatorParty(validatorUrl: URL, auth: AuthTokenProvider | TokenProviderConfig, sdkLogger: unknown): Promise<string>
```

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

Returns: `Promise<string>`

#### resolveCapabilities

Function

[Added 1.6.0](#history-added-1-6-0)

* Kind: `Function`
* Source: `node_modules/@canton-network/core-token-standard-service/dist/token-standard-service.d.ts:15`

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
resolveCapabilities(opts: { supportedApis: {} }): AssetCapabilities
```

**Call Signatures**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
resolveCapabilities(opts: { supportedApis: {} }): AssetCapabilities
```

| Parameter | Type | Required | Description |
| - | - | - | - |
| `opts` | `{ supportedApis: {} }` | yes | - |

Returns: `AssetCapabilities`

#### signTransactionHash

Function

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

**Signature**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
signTransactionHash(txHash: string, privateKey: string): string
```

**Call Signatures**

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
signTransactionHash(txHash: string, privateKey: string): string
```

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

Returns: `string`

## History

Updated
`1.7.0`

PreparedTransaction: members updated: preparedPromise

ScanProxyClient: details updated

SignedTransaction: members updated: signedPromise

TokenNamespace: details updated

AssetContext: details updated

BasicSDKOptions: signature updated

LedgerCommonSchemas: signature updated

SDKContext: signature updated

getValidatorParty: call signatures updated

Added
`1.7.0`

4 exported symbols added.

Updated
`1.6.0`

AssetNamespace: details updated

PreparedTransaction: members updated: preparedPromise

SignedTransaction: members updated: signedPromise

TokenNamespace: members added: v1, v2

FeaturedAppService: members added: revoke

AmuletNamespaceConfig: details updated

AssetBody: signature updated

AssetContext: details updated

fetchAmulet: details updated

findAsset: details updated

Added
`1.6.0`

2 exported symbols added.

Updated
`1.5.2`

ExtendedInitializedSDK: details updated

InitializedSDK: details updated

SDKPlugin: type parameters added: Name; members updated: name

BasicSDKInterface: signature updated

Added
`1.5.2`

1 exported symbol added.

Exports removed in
`1.5.1`

LedgerTypes: Last available in 1.5.0. Retained for historical reference.

Updated
`1.5.1`

PreparedTransaction: details updated

SignedTransaction: details updated

CompletionEvent: details updated

PreparedCommand: details updated

PrepareOptions: details updated

UpdateEvent: details updated

Added
`1.5.1`

1 exported symbol added.

Updated
`1.5.0`

AmuletNamespace: members added: isDevNet

AssetNamespace: details updated

ExtendedInitializedSDK: details updated

InitializedSDK: details updated

PreapprovalNamespace: details updated

SDKPlugin: type parameters added: ExtendedNamespaceItems; members updated: \_ctx, ctx

TokenNamespace: members added: assets, find

AmuletConfig: signature updated

AssetConfig: signature updated

AssetContext: signature updated

BasicSDKInterface: details updated

ExtendedSDKInterface: signature updated

PreparedCommand: details updated

PrepareOptions: details updated

RegisteredPlugins: signature updated; type parameters updated: P

TokenConfig: signature updated

localNetStaticConfig: signature updated

findAsset: call signatures updated

Added
`1.5.0`

4 exported symbols added.

Updated
`1.4.0`

AssetNamespace: details updated

ExtendedInitializedSDK: details updated

InitializedSDK: type parameters added: CurrentlyExtended

SDK: details updated

SDKPlugin: members added: \_ctx

AmuletConfig: signature updated

AmuletNamespaceConfig: signature updated

AssetBody: signature updated

AssetConfig: signature updated

BasicSDKInterface: signature updated

BasicSDKOptions: signature updated

Event: signature updated

EventsConfig: signature updated

ExtendedSDKInterface: signature updated

GrantFeaturedAppRightsOptions: signature updated

PreparedCommand: signature updated

PrepareOptions: signature updated

TokenConfig: signature updated

TokenNamespaceConfig: signature updated

findAsset: call signatures updated

Added
`1.4.0`

9 exported symbols added.
