Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ContractDeployOptions

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

Optional anchorMode

anchorMode: AnchorMode

codeBody

codeBody: string

contractName

contractName: string

Optional fee

fee: BigNum

Optional network

network: StacksNetwork

nonce

nonce: BigNum

Optional postConditionMode

postConditionMode: PostConditionMode

Optional postConditions

postConditions: PostCondition[]

senderKey

senderKey: string

Optional sponsored

sponsored: undefined | false | true

version

Generated using TypeDoc