Interface BaseContractDeployOptions

Contract deploy transaction options

Hierarchy

Properties

anchorMode: "onChainOnly" | "offChainOnly" | "any" | AnchorMode

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

clarityVersion?: ClarityVersion
codeBody: string

the Clarity code to be deployed

contractName: string

transaction fee in microstacks

network?: "mainnet" | "testnet" | "devnet" | "mocknet" | StacksNetwork

the network that the transaction will ultimately be broadcast to

nonce?: IntegerType

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

postConditionMode?: PostConditionMode

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

postConditions?: PostCondition[]

a list of post conditions to add to the transaction

sponsored?: boolean

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

Generated using TypeDoc