pub type WalletOrchardOutput<AccountId> = WalletOutput<(Note, ValuePool), Nullifier, AccountId>;Available on crate feature
orchard only.Expand description
The output part of an Orchard Action that was decrypted in the process of scanning.
Aliased Type§
pub struct WalletOrchardOutput<AccountId> { /* private fields */ }Trait Implementations§
Source§impl<AccountId: Copy> ReceivedShieldedOutput for WalletOrchardOutput<AccountId>
impl<AccountId: Copy> ReceivedShieldedOutput for WalletOrchardOutput<AccountId>
type AccountId = AccountId
type Note = Note
type Nullifier = Nullifier
Source§fn account_id(&self) -> Self::AccountId
fn account_id(&self) -> Self::AccountId
Returns the account ID for the account that received this output.
Source§fn to_wallet_note(&self) -> Note
fn to_wallet_note(&self) -> Note
Returns the received note, as a
Note.Source§fn transfer_type(&self) -> TransferType
fn transfer_type(&self) -> TransferType
Returns a
TransferType value that is determined based upon what type of key was used to
decrypt the transaction.Source§fn is_change(&self) -> bool
fn is_change(&self) -> bool
Returns whether or not the received output is counted as wallet-internal change, for the
purpose of display.
Source§fn nullifier(&self) -> Option<&Nullifier>
fn nullifier(&self) -> Option<&Nullifier>
Returns the nullifier that will be revealed when the note is spent, if the output was
observed using a key that provides the capability for nullifier computation.
Source§fn note_commitment_tree_position(&self) -> Option<Position>
fn note_commitment_tree_position(&self) -> Option<Position>
Returns the position of the note in the note commitment tree, if the transaction that
produced the output has been mined.
Source§fn recipient_key_scope(&self) -> Option<Scope>
fn recipient_key_scope(&self) -> Option<Scope>
Returns the HD derivation scope of the viewing key that decrypted the note, if known.