[#PrivateBroadcast-GetTxForNode] = xref:PrivateBroadcast.adoc[PrivateBroadcast]::GetTxForNode :relfileprefix: ../ :mrdocs: Get the transaction that was picked for sending to a given node by PickTxForSend(). == Synopsis Declared in `<private_broadcast.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e376846e8), requires_capability(0x7f2e219d1c68), requires_capability(0x7f2e1ac64e98)]] std::optional<CTransactionRef> GetTxForNode(xref:NodeId-08.adoc[NodeId] const& nodeid); ---- == Return Value Transaction or nullopt if the nodeid is unknown. == Parameters [cols="1,4"] |=== | Name| Description | *nodeid* [in] | Node to which a transaction is being (or was) sent. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#