Interface ContractDeployOptions

Hierarchy

Properties

clarityVersion?: ClarityVersion
client?: ClientOpts

Optional API object (for .baseUrl and .fetch) used for API/Node, defaults to use mainnet

codeBody: string

the Clarity code to be deployed

contractName: string

transaction fee in microstacks

network?: StacksNetwork | "mainnet" | "testnet" | "devnet" | "mocknet"
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?: PostConditionWire[]

a list of post conditions to add to the transaction

senderKey: PrivateKey
sponsored?: boolean

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

Generated using TypeDoc