Function makeContractSTXPostCondition

  • Generates a STX post condition with a contract principal

    Returns a STX post condition object

    Parameters

    • address: string

      the c32check address of the contract

    • contractName: string

      the name of the contract

    • conditionCode: FungibleConditionCode

      the condition code

    • amount: IntegerType

      the amount of STX tokens (denoted in micro-STX)

    Returns STXPostCondition

Generated using TypeDoc