generate_stx_post_condition
Create STX transfer post-conditions for payment and fee transactions by specifying recipient address, amount, and condition type to ensure secure blockchain operations.
Instructions
Generate an STX post-condition for STX transfers. Essential for payment and fee transactions.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | The STX amount in microSTX (1 STX = 1,000,000 microSTX) | |
| conditionCode | Yes | The condition type (usually 'equal' for exact transfers) | |
| principal | Yes | The Stacks address for the post-condition |