# Polymesh

Main entry point of the Polymesh SDK

## Hierarchy

* **Polymesh**

## Index

### Properties

* [claims](#claims)
* [middleware](#middleware)
* [settlements](#settlements)

### Accessors

* [\_middlewareApi](#_middlewareapi)
* [\_polkadotApi](#_polkadotapi)

### Methods

* [addSigner](#addsigner)
* [claimClassicTicker](#claimclassicticker)
* [disconnect](#disconnect)
* [getAccount](#getaccount)
* [getAccountBalance](#getaccountbalance)
* [getAccounts](#getaccounts)
* [getCurrentIdentity](#getcurrentidentity)
* [getIdentity](#getidentity)
* [getLatestBlock](#getlatestblock)
* [getNetworkProperties](#getnetworkproperties)
* [getNetworkVersion](#getnetworkversion)
* [getSecurityToken](#getsecuritytoken)
* [getSecurityTokens](#getsecuritytokens)
* [getTickerReservation](#gettickerreservation)
* [getTickerReservations](#gettickerreservations)
* [getTransactionFees](#gettransactionfees)
* [getTreasuryAccount](#gettreasuryaccount)
* [getTreasuryBalance](#gettreasurybalance)
* [isIdentityValid](#isidentityvalid)
* [isTickerAvailable](#istickeravailable)
* [onConnectionError](#onconnectionerror)
* [onDisconnect](#ondisconnect)
* [registerIdentity](#registeridentity)
* [reserveTicker](#reserveticker)
* [setSigner](#setsigner)
* [transferPolyx](#transferpolyx)
* [connect](#static-connect)

## Properties

### claims

• **claims**: [*Claims*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/claims)

*Defined in* [*src/Polymesh.ts:84*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L84)

### middleware

• **middleware**: [*Middleware*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/middleware)

*Defined in* [*src/Polymesh.ts:85*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L85)

### settlements

• **settlements**: *Settlements*

*Defined in* [*src/Polymesh.ts:86*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L86)

## Accessors

### \_middlewareApi

• **get \_middlewareApi**(): *ApolloClient‹NormalizedCacheObject›*

*Defined in* [*src/Polymesh.ts:805*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L805)

Middleware client

**Returns:** *ApolloClient‹NormalizedCacheObject›*

### \_polkadotApi

• **get \_polkadotApi**(): *ApiPromise*

*Defined in* [*src/Polymesh.ts:797*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L797)

Polkadot client

**Returns:** *ApiPromise*

## Methods

### addSigner

▸ **addSigner**(`params`: object): [*Account*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/account)

*Defined in* [*src/Polymesh.ts:745*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L745)

Adds a new signing key to the SDK instance. This will not change the current signer. For that, you must explicitly call `setSigner`

**Parameters:**

▪ **params**: *object*

| Name          | Type   | Description             |
| ------------- | ------ | ----------------------- |
| `accountSeed` | string | hex seed of the account |

**Returns:** [*Account*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/account)

▸ **addSigner**(`params`: object): [*Account*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/account)

*Defined in* [*src/Polymesh.ts:753*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L753)

Adds a new signing key to the SDK instance. This will not change the current signer. For that, you must explicitly call `setSigner`

**Parameters:**

▪ **params**: *object*

| Name              | Type   | Description      |
| ----------------- | ------ | ---------------- |
| `accountMnemonic` | string | account mnemonic |

**Returns:** [*Account*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/account)

▸ **addSigner**(`params`: object): [*Account*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/account)

*Defined in* [*src/Polymesh.ts:761*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L761)

Adds a new signing key to the SDK instance. This will not change the current signer. For that, you must explicitly call [setSigner](#setsigner)

**Parameters:**

▪ **params**: *object*

| Name         | Type   | Description |
| ------------ | ------ | ----------- |
| `accountUri` | string | account URI |

**Returns:** [*Account*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/account)

### claimClassicTicker

▸ **claimClassicTicker**(`args`: [ClaimClassicTickerParams](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/claimclassictickerparams), `opts?`: [ProcedureOpts](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/procedureopts)): *Promise‹*[*TransactionQueue*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/transactionqueue)*‹*[*TickerReservation*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/tickerreservation)*››*

*Defined in* [*src/Polymesh.ts:384*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L384)

Claim a ticker symbol that was reserved in Polymath Classic (Ethereum). The Ethereum account that owns the ticker must sign a special message that contains the DID of the Identity that will own the ticker in Polymesh, and provide the signed data to this call

**`note`** this method is of type [ProcedureMethod](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/proceduremethod), which means you can call `claimClassicTicker.checkAuthorization` on it to see whether the Current Account has the required permissions to run it

**Parameters:**

| Name    | Type                                                                                                                                    |
| ------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| `args`  | [ClaimClassicTickerParams](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/claimclassictickerparams) |
| `opts?` | [ProcedureOpts](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/procedureopts)                       |

**Returns:** *Promise‹*[*TransactionQueue*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/transactionqueue)*‹*[*TickerReservation*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/tickerreservation)*››*

### disconnect

▸ **disconnect**(): *Promise‹void›*

*Defined in* [*src/Polymesh.ts:735*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L735)

Disconnect the client and close all open connections and subscriptions

**`note`** the SDK will become unusable after this operation. It will throw an error when attempting to access any chain or middleware data. If you wish to continue using the SDK, you must create a new instance by calling [connect](#static-connect)

**Returns:** *Promise‹void›*

### getAccount

▸ **getAccount**(`args?`: undefined | object): [*Account*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/account)

*Defined in* [*src/Polymesh.ts:519*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L519)

Create an Account instance from an address. If no address is passed, the current Account is returned

**Parameters:**

| Name    | Type                |
| ------- | ------------------- |
| `args?` | undefined \| object |

**Returns:** [*Account*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/account)

### getAccountBalance

▸ **getAccountBalance**(`args?`: undefined | object): *Promise‹*[*AccountBalance*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/globals#accountbalance)*›*

*Defined in* [*src/Polymesh.ts:322*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L322)

Get the free/locked POLYX balance of an Account

**`note`** can be subscribed to

**Parameters:**

| Name    | Type                |
| ------- | ------------------- |
| `args?` | undefined \| object |

**Returns:** *Promise‹*[*AccountBalance*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/globals#accountbalance)*›*

▸ **getAccountBalance**(`callback`: [SubCallback](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/globals#subcallback)‹[AccountBalance](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/globals#accountbalance)›): *Promise‹*[*UnsubCallback*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/globals#unsubcallback)*›*

*Defined in* [*src/Polymesh.ts:323*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L323)

**Parameters:**

| Name       | Type                                                                                                                                                                                                                         |
| ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `callback` | [SubCallback](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/globals#subcallback)‹[AccountBalance](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/globals#accountbalance)› |

**Returns:** *Promise‹*[*UnsubCallback*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/globals#unsubcallback)*›*

▸ **getAccountBalance**(`args`: object, `callback`: [SubCallback](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/globals#subcallback)‹[AccountBalance](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/globals#accountbalance)›): *Promise‹*[*UnsubCallback*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/globals#unsubcallback)*›*

*Defined in* [*src/Polymesh.ts:324*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L324)

**Parameters:**

▪ **args**: *object*

| Name      | Type                                                                                                         |
| --------- | ------------------------------------------------------------------------------------------------------------ |
| `account` | string \| [Account](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/account) |

▪ **callback**: [*SubCallback*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/globals#subcallback)*‹*[*AccountBalance*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/globals#accountbalance)*›*

**Returns:** *Promise‹*[*UnsubCallback*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/globals#unsubcallback)*›*

### getAccounts

▸ **getAccounts**(): [*Account*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/account)*\[]*

*Defined in* [*src/Polymesh.ts:534*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L534)

Return a list that contains all the signing Accounts associated to the SDK instance

**`throws`** — if there is no current Account associated to the SDK instance

**Returns:** [*Account*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/account)*\[]*

### getCurrentIdentity

▸ **getCurrentIdentity**(): *Promise‹*[*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/identity) *| null›*

*Defined in* [*src/Polymesh.ts:512*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L512)

Retrieve the Identity associated to the current Account (null if there is none)

**Returns:** *Promise‹*[*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/identity) *| null›*

### getIdentity

▸ **getIdentity**(`args`: object): *Promise‹*[*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/identity)*›*

*Defined in* [*src/Polymesh.ts:494*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L494)

Create an Identity instance from a DID

**`throws`** if there is no Identity with the passed DID

**Parameters:**

▪ **args**: *object*

| Name  | Type   |
| ----- | ------ |
| `did` | string |

**Returns:** *Promise‹*[*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/identity)*›*

### getLatestBlock

▸ **getLatestBlock**(): *Promise‹BigNumber›*

*Defined in* [*src/Polymesh.ts:724*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L724)

Retrieve the number of the latest block in the chain

**Returns:** *Promise‹BigNumber›*

### getNetworkProperties

▸ **getNetworkProperties**(): *Promise‹*[*NetworkProperties*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/networkproperties)*›*

*Defined in* [*src/Polymesh.ts:660*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L660)

Retrieve information for the current network

**Returns:** *Promise‹*[*NetworkProperties*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/networkproperties)*›*

### getNetworkVersion

▸ **getNetworkVersion**(): *Promise‹string›*

*Defined in* [*src/Polymesh.ts:787*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L787)

Fetch the current network version (i.e. 3.1.0)

**Returns:** *Promise‹string›*

### getSecurityToken

▸ **getSecurityToken**(`args`: object): *Promise‹*[*SecurityToken*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/securitytoken)*›*

*Defined in* [*src/Polymesh.ts:641*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L641)

Retrieve a Security Token

**Parameters:**

▪ **args**: *object*

| Name     | Type   | Description           |
| -------- | ------ | --------------------- |
| `ticker` | string | Security Token ticker |

**Returns:** *Promise‹*[*SecurityToken*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/securitytoken)*›*

### getSecurityTokens

▸ **getSecurityTokens**(`args?`: undefined | object): *Promise‹*[*SecurityToken*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/securitytoken)*\[]›*

*Defined in* [*src/Polymesh.ts:609*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L609)

Retrieve all the Security Tokens owned by an Identity

**`note`** tokens with unreadable characters in their tickers will be left out

**Parameters:**

| Name    | Type                |
| ------- | ------------------- |
| `args?` | undefined \| object |

**Returns:** *Promise‹*[*SecurityToken*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/securitytoken)*\[]›*

### getTickerReservation

▸ **getTickerReservation**(`args`: object): *Promise‹*[*TickerReservation*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/tickerreservation)*›*

*Defined in* [*src/Polymesh.ts:459*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L459)

Retrieve a Ticker Reservation

**Parameters:**

▪ **args**: *object*

| Name     | Type   | Description           |
| -------- | ------ | --------------------- |
| `ticker` | string | Security Token ticker |

**Returns:** *Promise‹*[*TickerReservation*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/tickerreservation)*›*

### getTickerReservations

▸ **getTickerReservations**(`args?`: undefined | object): *Promise‹*[*TickerReservation*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/tickerreservation)*\[]›*

*Defined in* [*src/Polymesh.ts:425*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L425)

Retrieve all the ticker reservations currently owned by an Identity. This doesn't include tokens that have already been launched

**`note`** reservations with unreadable characters in their tickers will be left out

**Parameters:**

| Name    | Type                |
| ------- | ------------------- |
| `args?` | undefined \| object |

**Returns:** *Promise‹*[*TickerReservation*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/tickerreservation)*\[]›*

### getTransactionFees

▸ **getTransactionFees**(`args`: object): *Promise‹BigNumber›*

*Defined in* [*src/Polymesh.ts:553*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L553)

Retrieve the protocol fees associated with running a specific transaction

**Parameters:**

▪ **args**: *object*

| Name  | Type  | Description                                                            |
| ----- | ----- | ---------------------------------------------------------------------- |
| `tag` | TxTag | transaction tag (i.e. TxTags.asset.CreateAsset or "asset.createAsset") |

**Returns:** *Promise‹BigNumber›*

### getTreasuryAccount

▸ **getTreasuryAccount**(): [*Account*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/account)

*Defined in* [*src/Polymesh.ts:560*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L560)

Get the treasury wallet address

**Returns:** [*Account*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/account)

### getTreasuryBalance

▸ **getTreasuryBalance**(): *Promise‹BigNumber›*

*Defined in* [*src/Polymesh.ts:684*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L684)

Get the Treasury POLYX balance

**`note`** can be subscribed to

**Returns:** *Promise‹BigNumber›*

▸ **getTreasuryBalance**(`callback`: [SubCallback](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/globals#subcallback)‹BigNumber›): *Promise‹*[*UnsubCallback*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/globals#unsubcallback)*›*

*Defined in* [*src/Polymesh.ts:685*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L685)

**Parameters:**

| Name       | Type                                                                                                                  |
| ---------- | --------------------------------------------------------------------------------------------------------------------- |
| `callback` | [SubCallback](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/globals#subcallback)‹BigNumber› |

**Returns:** *Promise‹*[*UnsubCallback*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/globals#unsubcallback)*›*

### isIdentityValid

▸ **isIdentityValid**(`args`: object): *Promise‹boolean›*

*Defined in* [*src/Polymesh.ts:541*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L541)

Return whether the supplied Identity/DID exists

**Parameters:**

▪ **args**: *object*

| Name       | Type                                                                                                           |
| ---------- | -------------------------------------------------------------------------------------------------------------- |
| `identity` | [Identity](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/identity) \| string |

**Returns:** *Promise‹boolean›*

### isTickerAvailable

▸ **isTickerAvailable**(`args`: object): *Promise‹boolean›*

*Defined in* [*src/Polymesh.ts:393*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L393)

Check if a ticker hasn't been reserved

**`note`** can be subscribed to

**Parameters:**

▪ **args**: *object*

| Name     | Type   |
| -------- | ------ |
| `ticker` | string |

**Returns:** *Promise‹boolean›*

▸ **isTickerAvailable**(`args`: object, `callback`: [SubCallback](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/globals#subcallback)‹boolean›): *Promise‹*[*UnsubCallback*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/globals#unsubcallback)*›*

*Defined in* [*src/Polymesh.ts:394*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L394)

**Parameters:**

▪ **args**: *object*

| Name     | Type   |
| -------- | ------ |
| `ticker` | string |

▪ **callback**: [*SubCallback*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/globals#subcallback)*‹boolean›*

**Returns:** *Promise‹*[*UnsubCallback*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/globals#unsubcallback)*›*

### onConnectionError

▸ **onConnectionError**(`callback`: function): *function*

*Defined in* [*src/Polymesh.ts:573*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L573)

Handle connection errors

**Parameters:**

▪ **callback**: *function*

▸ (...`args`: unknown\[]): *unknown*

**Parameters:**

| Name      | Type       |
| --------- | ---------- |
| `...args` | unknown\[] |

**Returns:** *function*

an unsubscribe callback

▸ (): *void*

### onDisconnect

▸ **onDisconnect**(`callback`: function): *function*

*Defined in* [*src/Polymesh.ts:590*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L590)

Handle disconnection

**Parameters:**

▪ **callback**: *function*

▸ (...`args`: unknown\[]): *unknown*

**Parameters:**

| Name      | Type       |
| --------- | ---------- |
| `...args` | unknown\[] |

**Returns:** *function*

an unsubscribe callback

▸ (): *void*

### registerIdentity

▸ **registerIdentity**(`args`: [RegisterIdentityParams](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/registeridentityparams), `opts?`: [ProcedureOpts](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/procedureopts)): *Promise‹*[*TransactionQueue*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/transactionqueue)*‹*[*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/identity)*››*

*Defined in* [*src/Polymesh.ts:717*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L717)

Register an Identity

**`note`** must be a CDD provider

**`note`** this may create [Authorization Requests](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/authorizationrequest) which have to be accepted by the corresponding [Accounts](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/account) and/or [Identities](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/identity). An Account or Identity can fetch its pending Authorization Requests by calling `authorizations.getReceived`

**`note`** required role:

* Customer Due Diligence Provider

**`note`** this method is of type [ProcedureMethod](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/proceduremethod), which means you can call `registerIdentity.checkAuthorization` on it to see whether the Current Account has the required permissions to run it

**Parameters:**

| Name    | Type                                                                                                                                |
| ------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| `args`  | [RegisterIdentityParams](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/registeridentityparams) |
| `opts?` | [ProcedureOpts](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/procedureopts)                   |

**Returns:** *Promise‹*[*TransactionQueue*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/transactionqueue)*‹*[*Identity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/identity)*››*

### reserveTicker

▸ **reserveTicker**(`args`: [ReserveTickerParams](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/reservetickerparams), `opts?`: [ProcedureOpts](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/procedureopts)): *Promise‹*[*TransactionQueue*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/transactionqueue)*‹*[*TickerReservation*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/tickerreservation)*››*

*Defined in* [*src/Polymesh.ts:372*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L372)

Reserve a ticker symbol to later use in the creation of a Security Token. The ticker will expire after a set amount of time, after which other users can reserve it

**`note`** this method is of type [ProcedureMethod](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/proceduremethod), which means you can call `reserveTicker.checkAuthorization` on it to see whether the Current Account has the required permissions to run it

**Parameters:**

| Name    | Type                                                                                                                          |
| ------- | ----------------------------------------------------------------------------------------------------------------------------- |
| `args`  | [ReserveTickerParams](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/reservetickerparams) |
| `opts?` | [ProcedureOpts](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/procedureopts)             |

**Returns:** *Promise‹*[*TransactionQueue*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/transactionqueue)*‹*[*TickerReservation*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/tickerreservation)*››*

### setSigner

▸ **setSigner**(`signer`: string | [Account](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/account)): *void*

*Defined in* [*src/Polymesh.ts:780*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L780)

Set the SDK's current signing key to the provided address

**`note`** the key must have been previously added via [addSigner](#addsigner)

**Parameters:**

| Name     | Type                                                                                                         |
| -------- | ------------------------------------------------------------------------------------------------------------ |
| `signer` | string \| [Account](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/account) |

**Returns:** *void*

### transferPolyx

▸ **transferPolyx**(`args`: [TransferPolyxParams](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/transferpolyxparams), `opts?`: [ProcedureOpts](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/procedureopts)): *Promise‹*[*TransactionQueue*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/transactionqueue)*‹void››*

*Defined in* [*src/Polymesh.ts:311*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L311)

Transfer an amount of POLYX to a specified Account

**`note`** this method is of type [ProcedureMethod](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/proceduremethod), which means you can call `transferPolyx.checkAuthorization` on it to see whether the Current Account has the required permissions to run it

**Parameters:**

| Name    | Type                                                                                                                          |
| ------- | ----------------------------------------------------------------------------------------------------------------------------- |
| `args`  | [TransferPolyxParams](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/transferpolyxparams) |
| `opts?` | [ProcedureOpts](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/procedureopts)             |

**Returns:** *Promise‹*[*TransactionQueue*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/transactionqueue)*‹void››*

### `Static` connect

▸ **connect**(`params`: [ConnectParamsBase](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/connectparamsbase) & object): *Promise‹*[*Polymesh*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/polymesh)*›*

*Defined in* [*src/Polymesh.ts:133*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L133)

Create the instance and connect to the Polymesh node using an account seed

**Parameters:**

| Name     | Type                                                                                                                               |
| -------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| `params` | [ConnectParamsBase](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/connectparamsbase) & object |

**Returns:** *Promise‹*[*Polymesh*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/polymesh)*›*

▸ **connect**(`params`: [ConnectParamsBase](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/connectparamsbase) & object): *Promise‹*[*Polymesh*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/polymesh)*›*

*Defined in* [*src/Polymesh.ts:143*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L143)

Create the instance and connect to the Polymesh node using a keyring

**Parameters:**

| Name     | Type                                                                                                                               |
| -------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| `params` | [ConnectParamsBase](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/connectparamsbase) & object |

**Returns:** *Promise‹*[*Polymesh*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/polymesh)*›*

▸ **connect**(`params`: [ConnectParamsBase](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/connectparamsbase) & object): *Promise‹*[*Polymesh*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/polymesh)*›*

*Defined in* [*src/Polymesh.ts:156*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L156)

Create the instance and connect to the Polymesh node using an account URI

**Parameters:**

| Name     | Type                                                                                                                               |
| -------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| `params` | [ConnectParamsBase](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/connectparamsbase) & object |

**Returns:** *Promise‹*[*Polymesh*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/polymesh)*›*

▸ **connect**(`params`: [ConnectParamsBase](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/connectparamsbase) & object): *Promise‹*[*Polymesh*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/polymesh)*›*

*Defined in* [*src/Polymesh.ts:166*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L166)

Create the instance and connect to the Polymesh node using an account mnemonic

**Parameters:**

| Name     | Type                                                                                                                               |
| -------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| `params` | [ConnectParamsBase](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/connectparamsbase) & object |

**Returns:** *Promise‹*[*Polymesh*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/polymesh)*›*

▸ **connect**(`params`: [ConnectParamsBase](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/connectparamsbase)): *Promise‹*[*Polymesh*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/polymesh)*›*

*Defined in* [*src/Polymesh.ts:175*](https://github.com/PolymathNetwork/polymesh-sdk/blob/959efb76/src/Polymesh.ts#L175)

Create the instance and connect to the Polymesh node without an account

**Parameters:**

| Name     | Type                                                                                                                      |
| -------- | ------------------------------------------------------------------------------------------------------------------------- |
| `params` | [ConnectParamsBase](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/interfaces/connectparamsbase) |

**Returns:** *Promise‹*[*Polymesh*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v10/classes/polymesh)*›*
