[#MemPoolFeeRateEstimatorCache-GetCachedEstimate] = xref:MemPoolFeeRateEstimatorCache.adoc[MemPoolFeeRateEstimatorCache]::GetCachedEstimate :relfileprefix: ../ :mrdocs: Returns cached estimates if not stale and computed on tip_hash, nullopt otherwise. == Synopsis Declared in `<policy/fees/mempool_estimator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::optional<FeeRateEstimate> GetCachedEstimate(xref:uint256.adoc[uint256] const& tip_hash) const; ---- == Return Value The cached estimate when fresh and computed on tip_hash, otherwise nullopt. == Parameters [cols="1,4"] |=== | Name| Description | *tip_hash* | Hash of the chain tip the caller expects the estimate to match. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#