NonFungibleConditionCode

Enum specifying the comparison type for non-fungible token (NFT) post-conditions.


Usage

import { NonFungibleConditionCode } from '@stacks/transactions';

// Used internally — prefer the Pc builder's readable methods instead:
// Pc.principal('...').willSendAsset().nft(...)     →  NonFungibleConditionCode.Sends
// Pc.principal('...').willNotSendAsset().nft(...)  →  NonFungibleConditionCode.DoesNotSend

Reference Linkarrow-up-right


Definition

enum NonFungibleConditionCode {
  Sends = 0x10,
  DoesNotSend = 0x11,
}

Values

Value
Number
Pc Builder Method
String Code

Sends

0x10

.willSendAsset()

'sent'

DoesNotSend

0x11

.willNotSendAsset()

'not-sent'

Last updated

Was this helpful?