> For the complete documentation index, see [llms.txt](https://developers.polymath.network/polymesh-sdk-api-reference/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v6/classes/venue.md).

# Venue

Represents a Venue through which settlements are handled

## Hierarchy

* [Entity](/polymesh-sdk-api-reference/docs-v6/classes/entity.md)‹UniqueIdentifiers›

  ↳ **Venue**

## Index

### Properties

* [context](/polymesh-sdk-api-reference/docs-v6/classes/venue.md#protected-context)
* [id](/polymesh-sdk-api-reference/docs-v6/classes/venue.md#id)
* [uuid](/polymesh-sdk-api-reference/docs-v6/classes/venue.md#uuid)

### Methods

* [addInstruction](/polymesh-sdk-api-reference/docs-v6/classes/venue.md#addinstruction)
* [addInstructions](/polymesh-sdk-api-reference/docs-v6/classes/venue.md#addinstructions)
* [details](/polymesh-sdk-api-reference/docs-v6/classes/venue.md#details)
* [exists](/polymesh-sdk-api-reference/docs-v6/classes/venue.md#exists)
* [getPendingInstructions](/polymesh-sdk-api-reference/docs-v6/classes/venue.md#getpendinginstructions)
* [isEqual](/polymesh-sdk-api-reference/docs-v6/classes/venue.md#isequal)
* [modify](/polymesh-sdk-api-reference/docs-v6/classes/venue.md#modify)
* [generateUuid](/polymesh-sdk-api-reference/docs-v6/classes/venue.md#static-generateuuid)
* [unserialize](/polymesh-sdk-api-reference/docs-v6/classes/venue.md#static-unserialize)

## Properties

### `Protected` context

• **context**: [*Context*](/polymesh-sdk-api-reference/docs-v6/classes/context.md)

*Inherited from* [*CheckpointSchedule*](/polymesh-sdk-api-reference/docs-v6/classes/checkpointschedule.md)*.*[*context*](/polymesh-sdk-api-reference/docs-v6/classes/checkpointschedule.md#protected-context)

*Defined in* [*src/api/entities/Entity.ts:48*](https://github.com/PolymathNetwork/polymesh-sdk/blob/23062de4/src/api/entities/Entity.ts#L48)

### id

• **id**: *BigNumber*

*Defined in* [*src/api/entities/Venue/index.ts:57*](https://github.com/PolymathNetwork/polymesh-sdk/blob/23062de4/src/api/entities/Venue/index.ts#L57)

Identifier number of the venue

### uuid

• **uuid**: *string*

*Inherited from* [*CheckpointSchedule*](/polymesh-sdk-api-reference/docs-v6/classes/checkpointschedule.md)*.*[*uuid*](/polymesh-sdk-api-reference/docs-v6/classes/checkpointschedule.md#uuid)

*Defined in* [*src/api/entities/Entity.ts:46*](https://github.com/PolymathNetwork/polymesh-sdk/blob/23062de4/src/api/entities/Entity.ts#L46)

## Methods

### addInstruction

▸ **addInstruction**(`args`: [AddInstructionParams](/polymesh-sdk-api-reference/docs-v6/interfaces/addinstructionparams.md)): *Promise‹*[*TransactionQueue*](/polymesh-sdk-api-reference/docs-v6/classes/transactionqueue.md)*‹*[*Instruction*](/polymesh-sdk-api-reference/docs-v6/classes/instruction.md)*\[],* [*Instruction*](/polymesh-sdk-api-reference/docs-v6/classes/instruction.md)*››*

*Defined in* [*src/api/entities/Venue/index.ts:194*](https://github.com/PolymathNetwork/polymesh-sdk/blob/23062de4/src/api/entities/Venue/index.ts#L194)

Creates a settlement Instruction in this Venue

**`note`** required role:

* Venue Owner

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

**Parameters:**

| Name   | Type                                                                                           |
| ------ | ---------------------------------------------------------------------------------------------- |
| `args` | [AddInstructionParams](/polymesh-sdk-api-reference/docs-v6/interfaces/addinstructionparams.md) |

**Returns:** *Promise‹*[*TransactionQueue*](/polymesh-sdk-api-reference/docs-v6/classes/transactionqueue.md)*‹*[*Instruction*](/polymesh-sdk-api-reference/docs-v6/classes/instruction.md)*\[],* [*Instruction*](/polymesh-sdk-api-reference/docs-v6/classes/instruction.md)*››*

### addInstructions

▸ **addInstructions**(`args`: [AddInstructionsParams](/polymesh-sdk-api-reference/docs-v6/interfaces/addinstructionsparams.md)): *Promise‹*[*TransactionQueue*](/polymesh-sdk-api-reference/docs-v6/classes/transactionqueue.md)*‹*[*Instruction*](/polymesh-sdk-api-reference/docs-v6/classes/instruction.md)*\[]››*

*Defined in* [*src/api/entities/Venue/index.ts:207*](https://github.com/PolymathNetwork/polymesh-sdk/blob/23062de4/src/api/entities/Venue/index.ts#L207)

Creates a batch of settlement Instructions in this Venue

**`note`** required role:

* Venue Owner

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

**Parameters:**

| Name   | Type                                                                                             |
| ------ | ------------------------------------------------------------------------------------------------ |
| `args` | [AddInstructionsParams](/polymesh-sdk-api-reference/docs-v6/interfaces/addinstructionsparams.md) |

**Returns:** *Promise‹*[*TransactionQueue*](/polymesh-sdk-api-reference/docs-v6/classes/transactionqueue.md)*‹*[*Instruction*](/polymesh-sdk-api-reference/docs-v6/classes/instruction.md)*\[]››*

### details

▸ **details**(): *Promise‹*[*VenueDetails*](/polymesh-sdk-api-reference/docs-v6/interfaces/venuedetails.md)*›*

*Defined in* [*src/api/entities/Venue/index.ts:110*](https://github.com/PolymathNetwork/polymesh-sdk/blob/23062de4/src/api/entities/Venue/index.ts#L110)

Retrieve information specific to this venue

**Returns:** *Promise‹*[*VenueDetails*](/polymesh-sdk-api-reference/docs-v6/interfaces/venuedetails.md)*›*

### exists

▸ **exists**(): *Promise‹boolean›*

*Defined in* [*src/api/entities/Venue/index.ts:91*](https://github.com/PolymathNetwork/polymesh-sdk/blob/23062de4/src/api/entities/Venue/index.ts#L91)

Retrieve whether the Venue exists

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

### getPendingInstructions

▸ **getPendingInstructions**(): *Promise‹*[*Instruction*](/polymesh-sdk-api-reference/docs-v6/classes/instruction.md)*\[]›*

*Defined in* [*src/api/entities/Venue/index.ts:144*](https://github.com/PolymathNetwork/polymesh-sdk/blob/23062de4/src/api/entities/Venue/index.ts#L144)

Retrieve all pending Instructions in this Venue

**Returns:** *Promise‹*[*Instruction*](/polymesh-sdk-api-reference/docs-v6/classes/instruction.md)*\[]›*

### isEqual

▸ **isEqual**(`entity`: [Entity](/polymesh-sdk-api-reference/docs-v6/classes/entity.md)‹unknown›): *boolean*

*Inherited from* [*CheckpointSchedule*](/polymesh-sdk-api-reference/docs-v6/classes/checkpointschedule.md)*.*[*isEqual*](/polymesh-sdk-api-reference/docs-v6/classes/checkpointschedule.md#isequal)

*Defined in* [*src/api/entities/Entity.ts:61*](https://github.com/PolymathNetwork/polymesh-sdk/blob/23062de4/src/api/entities/Entity.ts#L61)

Whether this Entity is the same as another one

**Parameters:**

| Name     | Type                                                                     |
| -------- | ------------------------------------------------------------------------ |
| `entity` | [Entity](/polymesh-sdk-api-reference/docs-v6/classes/entity.md)‹unknown› |

**Returns:** *boolean*

### modify

▸ **modify**(`args`: [ModifyVenueParams](/polymesh-sdk-api-reference/docs-v6/globals.md#modifyvenueparams)): *Promise‹*[*TransactionQueue*](/polymesh-sdk-api-reference/docs-v6/classes/transactionqueue.md)*‹void››*

*Defined in* [*src/api/entities/Venue/index.ts:220*](https://github.com/PolymathNetwork/polymesh-sdk/blob/23062de4/src/api/entities/Venue/index.ts#L220)

Modify description and type

**`note`** required role:

* Venue Owner

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

**Parameters:**

| Name   | Type                                                                                  |
| ------ | ------------------------------------------------------------------------------------- |
| `args` | [ModifyVenueParams](/polymesh-sdk-api-reference/docs-v6/globals.md#modifyvenueparams) |

**Returns:** *Promise‹*[*TransactionQueue*](/polymesh-sdk-api-reference/docs-v6/classes/transactionqueue.md)*‹void››*

### `Static` generateUuid

▸ **generateUuid**‹**Identifiers**›(`identifiers`: Identifiers): *string*

*Inherited from* [*CheckpointSchedule*](/polymesh-sdk-api-reference/docs-v6/classes/checkpointschedule.md)*.*[*generateUuid*](/polymesh-sdk-api-reference/docs-v6/classes/checkpointschedule.md#static-generateuuid)

*Defined in* [*src/api/entities/Entity.ts:14*](https://github.com/PolymathNetwork/polymesh-sdk/blob/23062de4/src/api/entities/Entity.ts#L14)

Generate the Entity's UUID from its identifying properties

**Type parameters:**

▪ **Identifiers**

**Parameters:**

| Name          | Type        | Description |
| ------------- | ----------- | ----------- |
| `identifiers` | Identifiers |             |

**Returns:** *string*

### `Static` unserialize

▸ **unserialize**‹**Identifiers**›(`serialized`: string): *Identifiers*

*Inherited from* [*CheckpointSchedule*](/polymesh-sdk-api-reference/docs-v6/classes/checkpointschedule.md)*.*[*unserialize*](/polymesh-sdk-api-reference/docs-v6/classes/checkpointschedule.md#static-unserialize)

*Defined in* [*src/api/entities/Entity.ts:23*](https://github.com/PolymathNetwork/polymesh-sdk/blob/23062de4/src/api/entities/Entity.ts#L23)

Unserialize a UUID into its Unique Identifiers

**Type parameters:**

▪ **Identifiers**

**Parameters:**

| Name         | Type   | Description         |
| ------------ | ------ | ------------------- |
| `serialized` | string | UUID to unserialize |

**Returns:** *Identifiers*
