Interface UnsignedContractDeployOptions

Contract deploy transaction options

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

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

postConditions?: PostCondition[] | PostConditionWire[]

a list of post conditions to add to the transaction

publicKey: PublicKey

a hex string of the public key of the transaction sender

sponsored?: boolean

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

Generated using TypeDoc