Beta
The principal to check, which should/should-not be sending assets. A string in the format <address>
or <contractAddress>.<contractName>
.
A partial post condition builder, which can be chained into a final post condition.
import { Pc } from '@stacks/transactions';
Pc.principal('STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6').willSendEq(10000).ustx();
Pc.principal('STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6.mycontract').willSendGte(2000).ft();
Generated using TypeDoc
Pc.
Post Condition BuilderInterface may be subject to change in future releases.