[#CreateBaseChainParams]
= CreateBaseChainParams
:mrdocs:

Creates and returns a std&colon;&colon;unique&lowbar;ptr&lt;CBaseChainParams&gt; of the chosen chain&period;

== Synopsis

Declared in `&lt;chainparamsbase&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::unique&lowbar;ptr&lt;CBaseChainParams&gt;
CreateBaseChainParams(xref:ChainType.adoc[ChainType] chain);
----

== Return Value

The base parameters for the chosen chain&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *chain*
| The chain type to build base parameters for&period;
|===


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