@midnight-ntwrk/compact-runtime v0.7.0 • Readme | API
@midnight-ntwrk/compact-runtime v0.7.0 / 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.
right
readonly right: EncodedContractAddress;
The recipient's contract address, if the recipient is a contract.