Type alias BaseContractDeployOptions

BaseContractDeployOptions: {
    clarityVersion?: ClarityVersion;
    codeBody: string;
    contractName: string;
    fee?: IntegerType;
    nonce?: IntegerType;
    postConditionMode?: PostConditionModeName | PostConditionMode;
    postConditions?: PostCondition[] | PostConditionWire[];
    sponsored?: boolean;
} & NetworkClientParam

Contract deploy transaction options

Type declaration

  • Optional clarityVersion?: ClarityVersion
  • codeBody: string

    the Clarity code to be deployed

  • contractName: string
  • Optional fee?: IntegerType

    transaction fee in microstacks

  • Optional nonce?: IntegerType

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

  • Optional postConditionMode?: PostConditionModeName | PostConditionMode

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

  • Optional postConditions?: PostCondition[] | PostConditionWire[]

    a list of post conditions to add to the transaction

  • Optional sponsored?: boolean

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

Generated using TypeDoc