[#PSBTInput-Merge]
= xref:PSBTInput.adoc[PSBTInput]::Merge
:relfileprefix: ../
:mrdocs:

Merge another input&apos;s fields into this one&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
bool
Merge(xref:PSBTInput.adoc[PSBTInput] const& input);
----

== Return Value

True if the merge succeeded&period;

[NOTE]
====
The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^].
====
== Parameters

[cols="1,4"]
|===
| Name| Description
| *input*
| The input to merge from&period;
|===


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