PostConditionMode
Usage
import { PostConditionMode, makeContractCall } from '@stacks/transactions';
const transaction = await makeContractCall({
// ...
postConditionMode: PostConditionMode.Deny, // Only allow transfers specified by post-conditions
});Definition
enum PostConditionMode {
/** Allow unspecified transfers */
Allow = 0x01,
/** Do not allow unspecified transfers */
Deny = 0x02,
}Values
Value
Number
Description
Last updated
Was this helpful?