[#CChainParams-Main-0b]
= xref:CChainParams.adoc[CChainParams]::Main
:relfileprefix: ../
:mrdocs:

Creates the mainnet chain parameters with the given options&period;

== Synopsis

Declared in `&lt;kernel&sol;chainparams&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
std::unique&lowbar;ptr&lt;CChainParams const&gt;
Main(xref:CChainParams/MainNetOptions.adoc[MainNetOptions] const& options);
----

== Return Value

Owning pointer to the mainnet chain parameters&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *options*
| The mainnet configuration to apply&period;
|===


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