[#node-SnapshotMetadata-2constructor-0e]
= xref:node.adoc[node]::xref:node/SnapshotMetadata.adoc[SnapshotMetadata]::SnapshotMetadata
:relfileprefix: ../../
:mrdocs:

Construct snapshot metadata with a known base block and coin count&period;

== Synopsis

Declared in `&lt;node&sol;utxo&lowbar;snapshot&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
SnapshotMetadata(
    xref:MessageStartChars.adoc[MessageStartChars] const network&lowbar;magic,
    xref:uint256.adoc[uint256] const& base&lowbar;blockhash,
    uint64&lowbar;t coins&lowbar;count);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *network&lowbar;magic*
| The network magic bytes the snapshot must match&period;
| *base&lowbar;blockhash*
| Hash of the block at the tip of the snapshot&apos;s UTXO set&period;
| *coins&lowbar;count*
| Number of coins in the snapshot&apos;s UTXO set&period;
|===


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