Skip to main content

Module wallet

Module wallet 

Source
Expand description

Structs representing transaction data scanned from the block chain by a wallet or light client.

Re-exports§

pub use crate::data_api::locking::LockOwner;

Structs§

NoteId
A unique identifier for a shielded transaction output
OutputRef
A reference to a transaction output received by the wallet, across all pools.
ReceivedNote
A note that was received by the wallet, along with contextual information about the output that generated the note and the key that is required to spend it.
TransparentAddressMetadatatransparent-inputs
Information about a transparent address controlled by the wallet.
TransparentAddressObservationtransparent-inputs
A record that a transaction’s transparent data names a particular address.
WalletOutput
An output that was successfully decrypted in the process of wallet scanning.
WalletSpend
A reference to a spent note belonging to the wallet within a transaction.
WalletTransparentOutput
A transparent output controlled by the wallet.
WalletTransparentSpend
A reference to a transparent output belonging to the wallet that is spent within a transaction.
WalletTx
The shielded subset of a Transaction’s data that is relevant to a particular wallet.

Enums§

Exposuretransparent-inputs
Metadata describing whether and when a transparent address was exposed by the wallet.
GapMetadatatransparent-inputs
Metadata describing the gap limit position of a transparent address.
Note
An enumeration of supported shielded note types for use in ReceivedNote
OvkPolicy
Describes a policy for which outgoing viewing key should be able to decrypt transaction outputs.
Recipient
A type that represents the recipient of a transaction output.
TransparentAddressSourcetransparent-inputs
Source information for a transparent address.
TransparentInvolvementtransparent-inputs
The way in which a transaction’s transparent data names an address, and the data that the involvement carries.

Functions§

transparent_address_observationstransparent-inputs
Returns an observation for every address named by the given transaction’s transparent data: one for each output whose scriptPubKey describes an address, and one for each non-coinbase input whose scriptSig reveals the address of the output it spends.

Type Aliases§

WalletIronwoodOutputorchard
The output part of an Ironwood Action that was decrypted in the process of scanning.
WalletIronwoodSpendorchard
A type alias for Ironwood WalletSpends.
WalletOrchardOutputorchard
The output part of an Orchard Action that was decrypted in the process of scanning.
WalletOrchardSpendorchard
A type alias for Orchard WalletSpends.
WalletSaplingOutput
A subset of an OutputDescription relevant to wallets and light clients.
WalletSaplingSpend
A type alias for Sapling WalletSpends.