# ContractDeployOptions | Stacks.js 1.4.1 Library Reference
Documentation for Stacks.js 1.4.1 Library Reference

Contract deploy transaction options

### Hierarchy

- ContractDeployOptions

## Index

### Properties

- anchorMode
- codeBody
- contractName
- fee
- network
- nonce
- postConditionMode
- postConditions
- senderKey
- sponsored

## Properties

### anchorMode

anchorMode: AnchorMode

- Defined in packages/transactions/src/builders.ts:446

the transaction anchorMode, which specifies whether it should be included in an anchor block or a microblock

### codeBody

codeBody: string

- Defined in packages/transactions/src/builders.ts:435

the Clarity code to be deployed

### contractName

contractName: string

- Defined in packages/transactions/src/builders.ts:433

### Optional fee

fee: BN

- Defined in packages/transactions/src/builders.ts:439

transaction fee in microstacks

### Optional network

network: StacksNetwork

- Defined in packages/transactions/src/builders.ts:443

the network that the transaction will ultimately be broadcast to

### Optional nonce

nonce: BN

- Defined in packages/transactions/src/builders.ts:441

the transaction nonce, which must be increased monotonically with each new transaction

### Optional postConditionMode

postConditionMode: PostConditionMode

- Defined in packages/transactions/src/builders.ts:449

the post condition mode, specifying whether or not post-conditions must fully cover all transfered assets

### Optional postConditions

postConditions: PostCondition []

- Defined in packages/transactions/src/builders.ts:451

a list of post conditions to add to the transaction

### senderKey

senderKey: string

- Defined in packages/transactions/src/builders.ts:437

a hex string of the private key of the transaction sender

### Optional sponsored

sponsored: boolean

- Defined in packages/transactions/src/builders.ts:453

set to true if another account is sponsoring the transaction (covering the transaction fee)

Generated using TypeDoc