[#ParsePrevouts]
= ParsePrevouts
:mrdocs:

Parse a prevtxs UniValue array and get the map of coins from it

== Synopsis

Declared in `&lt;rpc&sol;rawtransaction&lowbar;util&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
ParsePrevouts(
    xref:UniValue.adoc[UniValue] const& prevTxsUnival,
    xref:FlatSigningProvider.adoc[FlatSigningProvider]* keystore,
    std::map&lt;COutPoint, Coin&gt;& coins);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *prevTxsUnival*
| Array of previous txns outputs that tx depends on but may not yet be in the block chain
| *keystore*
| A pointer to the temporary keystore if there is one
| *coins*
| Map of unspent outputs &hyphen; coins in mempool and current chain UTXO set, may be extended by previous txns outputs after call
|===


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