Interface UnsignedContractDeployOptions

Contract deploy transaction options

Hierarchy

Properties

api?: ApiOpts

the node/API used for estimating fee & nonce (using the api.fetchFn

clarityVersion?: ClarityVersion
codeBody: string

the Clarity code to be deployed

contractName: string

transaction fee in microstacks

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

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?: PostConditionWire[]

a list of post conditions to add to the transaction

publicKey: string

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