[#btck_chain_parameters_create] = btck_chain_parameters_create :mrdocs: Creates a chain parameters struct with default parameters based on the passed in chain type. == Synopsis Declared in `<kernel/bitcoinkernel.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] xref:btck_ChainParameters-0f.adoc[btck_ChainParameters]* btck_chain_parameters_create(xref:btck_ChainType.adoc[btck_ChainType] chain_type); ---- == Return Value An allocated chain parameters opaque struct. [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | Name| Description | *chain_type* [in] | Controls the chain parameters type created. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#