Skip to main content

ShieldedCoinRecipientDescriptor

@midnight-ntwrk/compact-runtime v0.14.0


@midnight-ntwrk/compact-runtime / ShieldedCoinRecipientDescriptor

Variable: ShieldedCoinRecipientDescriptor

const ShieldedCoinRecipientDescriptor: {
alignment: Alignment;
fromValue: {
is_left: boolean;
left: {
bytes: Uint8Array;
};
right: {
bytes: Uint8Array;
};
};
toValue: Value;
};

Type Declaration​

alignment()​

alignment(): Alignment;

Returns​

Alignment

fromValue()​

fromValue(value): {
is_left: boolean;
left: {
bytes: Uint8Array;
};
right: {
bytes: Uint8Array;
};
};

Parameters​

value​

Value

Returns​

{
is_left: boolean;
left: {
bytes: Uint8Array;
};
right: {
bytes: Uint8Array;
};
}
is_left​
is_left: boolean;
left​
left: {
bytes: Uint8Array;
};
left.bytes​
bytes: Uint8Array;
right: {
bytes: Uint8Array;
};
right.bytes​
bytes: Uint8Array;

toValue()​

toValue(value): Value;

Parameters​

value​
is_left​

boolean

left​

{ bytes: Uint8Array; }

left.bytes​

Uint8Array

right​

{ bytes: Uint8Array; }

right.bytes​

Uint8Array

Returns​

Value