# api\_procedures\_addInstruction.AddInstructionParams

[@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) / AddInstructionParams

## Interface: AddInstructionParams

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

### Hierarchy

* **`AddInstructionParams`**

  ↳ [`AddInstructionWithVenueIdParams`](https://developers.polymath.network/polymesh-sdk-api-reference/docs-alpha/interfaces/api_procedures_addinstruction.addinstructionwithvenueidparams)

### Table of contents

#### Properties

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

### 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)

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

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

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

**Defined in**

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