[#TxGraph-GetDescendantsUnion]
= xref:TxGraph.adoc[TxGraph]::GetDescendantsUnion
:relfileprefix: ../
:mrdocs:

Like GetDescendants, but return the Refs for all transactions in the union of the provided arguments&apos; descendants (each transaction is only reported once)&period; Refs that do not exist in the queried graph are ignored&period; Null refs are not allowed&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
std::vector&lt;Ref*&gt;
GetDescendantsUnion(
    std::span&lt;Ref const const*&gt; args,
    xref:TxGraph/Level.adoc[Level] level) noexcept = 0;
----

== Return Value

The union of all inputs&apos; descendants, each reported once&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *args*
| References to the transactions whose descendants are combined&period;
| *level*
| Which graph (main or staging) to query&period;
|===


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