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

Contract deploy transaction options

param

  the contract name

param

  the code body string

param

  hex string sender private key used to sign transaction

param

  transaction fee in microstacks

param

  a nonce must be increased monotonically with each new transaction

param

  the Stacks blockchain network this transaction is destined for

param

  identify how the the transaction should be mined

param

  whether post conditions must fully cover all transferred assets

param

  an array of post conditions to add to the transaction

param

  true if another account is sponsoring the transaction fees

### Hierarchy

- ContractDeployOptions

## Index

### Properties

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

## Properties

### Optional anchorMode

anchorMode: AnchorMode

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

### codeBody

codeBody: string

- Defined in packages/keychain/src/wallet/signer.ts:35
- Defined in packages/transactions/src/builders.ts:447

### contractName

contractName: string

- Defined in packages/keychain/src/wallet/signer.ts:34
- Defined in packages/transactions/src/builders.ts:446

### Optional fee

fee: BigNum

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

### Optional network

network: StacksNetwork

- Defined in packages/keychain/src/wallet/signer.ts:40
- Defined in packages/transactions/src/builders.ts:451

### nonce

nonce: BigNum

- Defined in packages/keychain/src/wallet/signer.ts:37
- Defined in packages/transactions/src/builders.ts:450

### Optional postConditionMode

postConditionMode: PostConditionMode

- Defined in packages/keychain/src/wallet/signer.ts:39
- Defined in packages/transactions/src/builders.ts:453

### Optional postConditions

postConditions: PostCondition []

- Defined in packages/keychain/src/wallet/signer.ts:38
- Defined in packages/transactions/src/builders.ts:454

### senderKey

senderKey: string

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

### Optional sponsored

sponsored: undefined | false | true

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

### version

version: TransactionVersion

- Defined in packages/keychain/src/wallet/signer.ts:36

Generated using TypeDoc