[#node-FindCoins]
= xref:node.adoc[node]::FindCoins
:relfileprefix: ../
:mrdocs:

Look up unspent output information&period; Returns coins in the mempool and in the current chain UTXO set&period; Iterates through all the keys in the map and populates the values&period;

== Synopsis

Declared in `&lt;node&sol;coin&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
FindCoins(
    xref:node/NodeContext.adoc[node::NodeContext] const& node,
    std::map&lt;COutPoint, Coin&gt;& coins);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *node* [in]
| The node context to use for lookup
| *coins* [inout]
| map to fill
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
