[#wallet-PushParentDescriptors]
= xref:wallet.adoc[wallet]::PushParentDescriptors
:relfileprefix: ../
:mrdocs:

Fetch parent descriptors of this scriptPubKey&period;

== Synopsis

Declared in `&lt;wallet&sol;rpc&sol;util&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
PushParentDescriptors(
    xref:wallet/CWallet.adoc[CWallet] const& wallet,
    xref:CScript.adoc[CScript] const& script&lowbar;pubkey,
    xref:UniValue.adoc[UniValue]& entry);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *wallet*
| The wallet to look up descriptors in&period;
| *script&lowbar;pubkey*
| The output script whose parent descriptors are fetched&period;
| *entry*
| The RPC object the parent descriptors are added to&period;
|===


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