Module bdk_chain::bitcoin::amount::serde::as_sat::opt

Expand description

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

Functionsยง