[#CCoinsViewCache-PeekCoin] = xref:CCoinsViewCache.adoc[CCoinsViewCache]::PeekCoin :relfileprefix: ../ :mrdocs: Retrieve a coin without populating this cache. == Synopsis Declared in `<coins.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual std::optional<Coin> PeekCoin(xref:COutPoint.adoc[COutPoint] const& outpoint) const override; ---- == Return Value The coin if unspent, otherwise an empty optional. == Parameters [cols="1,4"] |=== | Name| Description | *outpoint* | The outpoint to look up. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#