> 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-v7/classes/venue.md). Agents can also search and read this documentation through its [MCP server](https://developers.polymath.network/polymesh-sdk-api-reference/~gitbook/mcp).

# Venue

Represents a Venue through which settlements are handled

## Hierarchy

* [Entity](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/entity.md)‹UniqueIdentifiers, string›

  ↳ **Venue**

## Index

### Properties

* [context](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/venue.md#protected-context)
* [id](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/venue.md#id)
* [uuid](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/venue.md#uuid)

### Methods

* [addInstruction](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/venue.md#addinstruction)
* [addInstructions](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/venue.md#addinstructions)
* [details](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/venue.md#details)
* [exists](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/venue.md#exists)
* [getInstructions](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/venue.md#getinstructions)
* [getPendingInstructions](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/venue.md#getpendinginstructions)
* [isEqual](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/venue.md#isequal)
* [modify](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/venue.md#modify)
* [toJson](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/venue.md#tojson)
* [generateUuid](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/venue.md#static-generateuuid)
* [unserialize](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/venue.md#static-unserialize)

## Properties

### `Protected` context

• **context**: [*Context*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/context.md)

*Inherited from* [*Entity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/entity.md)*.*[*context*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/entity.md#protected-context)

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

### id

• **id**: *BigNumber*

*Defined in* [*src/api/entities/Venue/index.ts:58*](https://github.com/PolymathNetwork/polymesh-sdk/blob/bf2b7a12/src/api/entities/Venue/index.ts#L58)

Identifier number of the venue

### uuid

• **uuid**: *string*

*Inherited from* [*Entity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/entity.md)*.*[*uuid*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/entity.md#uuid)

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

## Methods

### addInstruction

▸ **addInstruction**(`args`: [AddInstructionParams](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/interfaces/addinstructionparams.md), `opts?`: [ProcedureOpts](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/interfaces/procedureopts.md)): *Promise‹*[*TransactionQueue*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/transactionqueue.md)*‹*[*Instruction*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/instruction.md)*\[],* [*Instruction*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/instruction.md)*››*

*Defined in* [*src/api/entities/Venue/index.ts:243*](https://github.com/PolymathNetwork/polymesh-sdk/blob/bf2b7a12/src/api/entities/Venue/index.ts#L243)

Creates a settlement Instruction in this Venue

**`note`** required role:

* Venue Owner

**`note`** this method is of type [ProcedureMethod](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/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](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/interfaces/addinstructionparams.md) |
| `opts?` | [ProcedureOpts](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/interfaces/procedureopts.md)               |

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

### addInstructions

▸ **addInstructions**(`args`: [AddInstructionsParams](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/interfaces/addinstructionsparams.md), `opts?`: [ProcedureOpts](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/interfaces/procedureopts.md)): *Promise‹*[*TransactionQueue*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/transactionqueue.md)*‹*[*Instruction*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/instruction.md)*\[]››*

*Defined in* [*src/api/entities/Venue/index.ts:256*](https://github.com/PolymathNetwork/polymesh-sdk/blob/bf2b7a12/src/api/entities/Venue/index.ts#L256)

Creates a batch of settlement Instructions in this Venue

**`note`** required role:

* Venue Owner

**`note`** this method is of type [ProcedureMethod](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/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](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/interfaces/addinstructionsparams.md) |
| `opts?` | [ProcedureOpts](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/interfaces/procedureopts.md)                 |

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

### details

▸ **details**(): *Promise‹*[*VenueDetails*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/interfaces/venuedetails.md)*›*

*Defined in* [*src/api/entities/Venue/index.ts:111*](https://github.com/PolymathNetwork/polymesh-sdk/blob/bf2b7a12/src/api/entities/Venue/index.ts#L111)

Retrieve information specific to this venue

**Returns:** *Promise‹*[*VenueDetails*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/interfaces/venuedetails.md)*›*

### exists

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

*Defined in* [*src/api/entities/Venue/index.ts:92*](https://github.com/PolymathNetwork/polymesh-sdk/blob/bf2b7a12/src/api/entities/Venue/index.ts#L92)

Retrieve whether the Venue exists

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

### getInstructions

▸ **getInstructions**(): *Promise‹Pick‹*[*GroupedInstructions*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/interfaces/groupedinstructions.md)*, "pending" | "failed"››*

*Defined in* [*src/api/entities/Venue/index.ts:145*](https://github.com/PolymathNetwork/polymesh-sdk/blob/bf2b7a12/src/api/entities/Venue/index.ts#L145)

Retrieve all pending and failed Instructions in this Venue

**Returns:** *Promise‹Pick‹*[*GroupedInstructions*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/interfaces/groupedinstructions.md)*, "pending" | "failed"››*

### getPendingInstructions

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

*Defined in* [*src/api/entities/Venue/index.ts:199*](https://github.com/PolymathNetwork/polymesh-sdk/blob/bf2b7a12/src/api/entities/Venue/index.ts#L199)

Retrieve all pending Instructions in this Venue

**`deprecated`** in favor of `getInstructions`

**Returns:** *Promise‹*[*Instruction*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/instruction.md)*\[]›*

### isEqual

▸ **isEqual**(`entity`: [Entity](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/entity.md)‹unknown, unknown›): *boolean*

*Inherited from* [*Entity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/entity.md)*.*[*isEqual*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/entity.md#isequal)

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

Whether this Entity is the same as another one

**Parameters:**

| Name     | Type                                                                                                                 |
| -------- | -------------------------------------------------------------------------------------------------------------------- |
| `entity` | [Entity](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/entity.md)‹unknown, unknown› |

**Returns:** *boolean*

### modify

▸ **modify**(`args`: [ModifyVenueParams](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/globals.md#modifyvenueparams), `opts?`: [ProcedureOpts](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/interfaces/procedureopts.md)): *Promise‹*[*TransactionQueue*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/transactionqueue.md)*‹void››*

*Defined in* [*src/api/entities/Venue/index.ts:269*](https://github.com/PolymathNetwork/polymesh-sdk/blob/bf2b7a12/src/api/entities/Venue/index.ts#L269)

Modify description and type

**`note`** required role:

* Venue Owner

**`note`** this method is of type [ProcedureMethod](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/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](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/globals.md#modifyvenueparams) |
| `opts?` | [ProcedureOpts](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/interfaces/procedureopts.md)      |

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

### toJson

▸ **toJson**(): *string*

*Overrides* [*Entity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/entity.md)*.*[*toJson*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/entity.md#abstract-tojson)

*Defined in* [*src/api/entities/Venue/index.ts:276*](https://github.com/PolymathNetwork/polymesh-sdk/blob/bf2b7a12/src/api/entities/Venue/index.ts#L276)

Return the Venue's ID

**Returns:** *string*

### `Static` generateUuid

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

*Inherited from* [*Entity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/entity.md)*.*[*generateUuid*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/entity.md#static-generateuuid)

*Defined in* [*src/api/entities/Entity.ts:14*](https://github.com/PolymathNetwork/polymesh-sdk/blob/bf2b7a12/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* [*Entity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/entity.md)*.*[*unserialize*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/entity.md#static-unserialize)

*Defined in* [*src/api/entities/Entity.ts:23*](https://github.com/PolymathNetwork/polymesh-sdk/blob/bf2b7a12/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*
