[#TaprootBuilder-Finalize] = xref:TaprootBuilder.adoc[TaprootBuilder]::Finalize :relfileprefix: ../ :mrdocs: Finalize the construction. Can only be called when IsComplete() is true. internal_key.IsFullyValid() must be true. == Synopsis Declared in `<script/signingprovider.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:TaprootBuilder.adoc[TaprootBuilder]& Finalize(xref:XOnlyPubKey.adoc[XOnlyPubKey] const& internal_key); ---- == Return Value A reference to this builder for chaining. == Parameters [cols="1,4"] |=== | Name| Description | *internal_key* | The BIP341 internal key to tweak with the tree. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#