Module bitcoin_units::amount::serde::as_sat::opt

source ·
Available on crate feature serde only.
Expand description

Serialize and deserialize Option<Amount> as real numbers denominated in satoshi. Use with #[serde(default, with = "amount::serde::as_sat::opt")].

Functions§