OutgoingOrchardNote

Type Alias OutgoingOrchardNote 

Source
pub type OutgoingOrchardNote = OutgoingNote<Note>;
Expand description

Outgoing orchard note.

Aliased Type§

pub struct OutgoingOrchardNote { /* private fields */ }

Implementations§

Source§

impl OutgoingOrchardNote

Source

pub fn read<R: Read>( reader: R, consensus_parameters: &impl Parameters, ) -> Result<Self>

Deserialize into reader

Source

pub fn write<W: Write>( &self, writer: W, consensus_parameters: &impl Parameters, ) -> Result<()>

Serialize into writer

Trait Implementations§

Source§

impl OutgoingNoteInterface for OutgoingOrchardNote

Source§

const SHIELDED_PROTOCOL: ShieldedProtocol = ShieldedProtocol::Orchard

Note’s associated shielded protocol.
Source§

type ZcashNote = Note

Decrypted note type.
Source§

type Address = Address

Address type.
Source§

type Error = ParseError

Encoding error
Source§

fn output_id(&self) -> OutputId

Output ID.
Source§

fn key_id(&self) -> KeyId

Identifier for key used to decrypt outgoing note.
Source§

fn value(&self) -> u64

Note value.
Source§

fn note(&self) -> &Self::ZcashNote

Decrypted note with recipient and value.
Source§

fn memo(&self) -> &Memo

Memo.
Source§

fn recipient(&self) -> Self::Address

Recipient address.
Source§

fn recipient_full_unified_address(&self) -> Option<&UnifiedAddress>

Recipient unified address as given by recipient and recorded in an encoded memo (all original receivers).
Source§

fn encoded_recipient<P>(&self, parameters: &P) -> Result<String, Self::Error>

Encoded recipient address recorded in note on chain (single receiver).
Source§

fn encoded_recipient_full_unified_address<P>( &self, consensus_parameters: &P, ) -> Option<String>

Encoded recipient unified address as given by recipient and recorded in an encoded memo (all original receivers).
Source§

fn transaction_outgoing_notes(transaction: &WalletTransaction) -> &[Self]

Outgoing notes within transaction.