Function makeContractNonFungiblePostCondition

  • Generates a non-fungible token post condition with a contract principal

    Returns a non-fungible token post condition object

    Parameters

    • address: string

      the c32check address

    • contractName: string

      the name of the contract

    • conditionCode: NonFungibleConditionCode

      the condition code

    • assetInfo: string | AssetInfo

      asset info describing the non-fungible token

    • assetId: ClarityValue

      asset identifier of the nft instance (typically a uint/buffer/string)

    Returns NonFungiblePostCondition

Generated using TypeDoc