• Beta

    Pc. Post Condition Builder

    Interface may be subject to change in future releases.

    Returns

    A partial post condition builder, which can be chained into a final post condition.

    Example

    import { Pc } from '@stacks/transactions';
    Pc.principal('STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6').willSendEq(100).stx();

    Parameters

    • principal: string

      The principal to check, which should/should-not be sending assets. A string in the format "address" or "address.contractId".

    Returns PartialPcWithPrincipal

Generated using TypeDoc