Post condition hex string
Deserialized post condition
import { Pc } from '@stacks/transactions';
const hex = '00021600000000000000000000000000000000000000000200000000000003e8'
const postCondition = Pc.fromHex(hex);
// {
// type: 'stx-postcondition',
// address: 'SP000000000000000000002Q6VF78',
// condition: 'gt',
// amount: '1000'
// }
Generated using TypeDoc
Deserializes a serialized post condition hex string into a post condition object