[#common-FeeModeFromString]
= xref:common.adoc[common]::FeeModeFromString
:relfileprefix: ../
:mrdocs:

Parse a fee estimate mode from its string name&period;

== Synopsis

Declared in `&lt;common&sol;messages&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
FeeModeFromString(
    std::string&lowbar;view mode&lowbar;string,
    xref:FeeEstimateMode.adoc[FeeEstimateMode]& fee&lowbar;estimate&lowbar;mode);
----

== Return Value

true if the string named a valid mode&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *mode&lowbar;string*
| The mode name to parse (case&hyphen;insensitive)&period;
| *fee&lowbar;estimate&lowbar;mode*
| Set to the parsed mode on success&period;
|===


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