Skip to main content

Recipient

@midnight-ntwrk/compact-runtime v0.9.0


@midnight-ntwrk/compact-runtime / Recipient

Interface: Recipient

The recipient of a coin produced by a circuit.

Properties

is_left

readonly is_left: boolean;

Whether the recipient is a user or a contract.


left

readonly left: string;

The recipient's public key, if the recipient is a user.


readonly right: string;

The recipient's contract address, if the recipient is a contract.