Skip to main content

EncodedRecipient

@midnight-ntwrk/compact-runtime v0.9.0


@midnight-ntwrk/compact-runtime / EncodedRecipient

Interface: EncodedRecipient

A Recipient with its fields encoded as byte strings. This representation is used internally by the contract executable.

Properties

is_left

readonly is_left: boolean;

Whether the recipient is a user or a contract.


left

readonly left: EncodedCoinPublicKey;

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


readonly right: EncodedContractAddress;

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