# api\_procedures\_addInstruction.AddInstructionWithVenueIdParams

[@polymeshassociation/polymesh-sdk](https://developers.polymath.network/polymesh-sdk-api-reference/docs-alpha/classes) / [Modules](https://developers.polymath.network/polymesh-sdk-api-reference/docs-alpha/modules) / [api/procedures/addInstruction](https://developers.polymath.network/polymesh-sdk-api-reference/docs-alpha/modules-1/api_procedures_addinstruction) / AddInstructionWithVenueIdParams

## Interface: AddInstructionWithVenueIdParams

[api/procedures/addInstruction](https://developers.polymath.network/polymesh-sdk-api-reference/docs-alpha/modules-1/api_procedures_addinstruction).AddInstructionWithVenueIdParams

### Hierarchy

* [`AddInstructionParams`](https://developers.polymath.network/polymesh-sdk-api-reference/docs-alpha/interfaces/api_procedures_addinstruction.addinstructionparams)

  ↳ **`AddInstructionWithVenueIdParams`**

### Table of contents

#### Properties

* [endBlock](#endblock)
* [legs](#legs)
* [tradeDate](#tradedate)
* [valueDate](#valuedate)
* [venueId](#venueid)

### Properties

#### endBlock

• `Optional` **endBlock**: `BigNumber`

block at which the Instruction will be executed automatically (optional, the Instruction will be executed when all participants have authorized it if not supplied)

**Inherited from**

[AddInstructionParams](https://developers.polymath.network/polymesh-sdk-api-reference/docs-alpha/interfaces/api_procedures_addinstruction.addinstructionparams).[endBlock](https://developers.polymath.network/polymesh-sdk-api-reference/docs-alpha/api_procedures_addinstruction.addinstructionparams#endblock)

**Defined in**

[api/procedures/addInstruction.ts:63](https://github.com/PolymathNetwork/polymesh-sdk/blob/31dfa0dc/src/api/procedures/addInstruction.ts#L63)

***

#### legs

• **legs**: { `amount`: `BigNumber` ; `asset`: `string` | [`Asset`](https://developers.polymath.network/polymesh-sdk-api-reference/docs-alpha/classes/api_entities_asset.asset) ; `from`: [`PortfolioLike`](https://developers.polymath.network/polymesh-sdk-api-reference/docs-alpha/modules-1/types#portfoliolike) ; `to`: [`PortfolioLike`](https://developers.polymath.network/polymesh-sdk-api-reference/docs-alpha/modules-1/types#portfoliolike) }\[]

array of Asset movements (amount, from, to, asset)

**Inherited from**

[AddInstructionParams](https://developers.polymath.network/polymesh-sdk-api-reference/docs-alpha/interfaces/api_procedures_addinstruction.addinstructionparams).[legs](https://developers.polymath.network/polymesh-sdk-api-reference/docs-alpha/api_procedures_addinstruction.addinstructionparams#legs)

**Defined in**

[api/procedures/addInstruction.ts:46](https://github.com/PolymathNetwork/polymesh-sdk/blob/31dfa0dc/src/api/procedures/addInstruction.ts#L46)

***

#### tradeDate

• `Optional` **tradeDate**: `Date`

date at which the trade was agreed upon (optional, for off chain trades)

**Inherited from**

[AddInstructionParams](https://developers.polymath.network/polymesh-sdk-api-reference/docs-alpha/interfaces/api_procedures_addinstruction.addinstructionparams).[tradeDate](https://developers.polymath.network/polymesh-sdk-api-reference/docs-alpha/api_procedures_addinstruction.addinstructionparams#tradedate)

**Defined in**

[api/procedures/addInstruction.ts:55](https://github.com/PolymathNetwork/polymesh-sdk/blob/31dfa0dc/src/api/procedures/addInstruction.ts#L55)

***

#### valueDate

• `Optional` **valueDate**: `Date`

date at which the trade was executed (optional, for off chain trades)

**Inherited from**

[AddInstructionParams](https://developers.polymath.network/polymesh-sdk-api-reference/docs-alpha/interfaces/api_procedures_addinstruction.addinstructionparams).[valueDate](https://developers.polymath.network/polymesh-sdk-api-reference/docs-alpha/api_procedures_addinstruction.addinstructionparams#valuedate)

**Defined in**

[api/procedures/addInstruction.ts:59](https://github.com/PolymathNetwork/polymesh-sdk/blob/31dfa0dc/src/api/procedures/addInstruction.ts#L59)

***

#### venueId

• **venueId**: `BigNumber`

**Defined in**

[api/procedures/addInstruction.ts:74](https://github.com/PolymathNetwork/polymesh-sdk/blob/31dfa0dc/src/api/procedures/addInstruction.ts#L74)
