[#interfaces-Chain]
= xref:interfaces.adoc[interfaces]::Chain
:relfileprefix: ../
:mrdocs:

Interface giving clients read and write access to the node&apos;s chain state&period;

== Synopsis

Declared in `&lt;interfaces&sol;chain&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class Chain;
----

== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:wallet/AddWalletSetting.adoc[`&colon;&colon;wallet&colon;&colon;AddWalletSetting`]
| Add wallet name to persistent configuration so it will be loaded on startup&period;
| xref:wallet/AttemptSelection.adoc[`&colon;&colon;wallet&colon;&colon;AttemptSelection`]
| Attempt to find a valid input set that preserves privacy by not mixing OutputTypes&period; `ChooseSelectionResult()` will be called on each OutputType individually and the best the solution (according to the waste metric) will be chosen&period; If a valid input cannot be found from any single OutputType, fallback to running `ChooseSelectionResult()` over all available coins&period;
| xref:wallet/ChooseSelectionResult.adoc[`&colon;&colon;wallet&colon;&colon;ChooseSelectionResult`]
| Attempt to find a valid input set that meets the provided eligibility filter and target&period; Multiple coin selection algorithms will be run and the input set that produces the least waste (according to the waste metric) will be chosen&period;
| xref:wallet/RemoveWalletSetting.adoc[`&colon;&colon;wallet&colon;&colon;RemoveWalletSetting`]
| Remove wallet name from persistent configuration so it will not be loaded on startup&period;
|===


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