The post condition object to convert
The hex string representation of the post condition
import { postConditionToHex } from '@stacks/transactions';
const hex = postConditionToHex({
  type: 'stx-postcondition',
  address: 'ST00000000000000000002Q6VF78',
  condition: 'eq',
  amount: '1000000000000000000',
});
StxPostCondition, FungiblePostCondition, NonFungiblePostCondition
Generated using TypeDoc
Convert a post condition to a hex string