Interface ContractDeployOptions

Hierarchy

Properties

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

senderKey: string
sponsored?: boolean

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

Generated using TypeDoc