Function zebra_state::service::read::find::tip_with_value_balance
source ยท pub fn tip_with_value_balance<C>(
chain: Option<C>,
db: &ZebraDb,
) -> Result<Option<(Height, Hash, ValueBalance<NonNegative>)>, BoxError>
Expand description
Returns the tip of chain
with its ValueBalance
.
If there is no chain, returns the tip of db
.