pub struct Reward {
pub txid: Txid,
pub vout: u32,
pub reward: Amount,
pub zero_count: u8,
pub address: Option<String>,
}Expand description
Reward information for a single rewarded output.
Fields§
§txid: TxidTransaction ID that produced the reward.
vout: u32Output index carrying the reward.
reward: AmountZELD reward granted to the output.
zero_count: u8Leading zero count of the transaction ID.
address: Option<String>Bitcoin address for the reward-carrying output only (first non-OP_RETURN),
if determinable. None for non-standard scripts (e.g., bare multisig),
or for non-reward outputs where no address is stored.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Reward
impl RefUnwindSafe for Reward
impl Send for Reward
impl Sync for Reward
impl Unpin for Reward
impl UnwindSafe for Reward
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more