[#btck-TransactionOutput-GetScriptPubkey] = xref:btck.adoc[btck]::xref:btck/TransactionOutput.adoc[TransactionOutput]::GetScriptPubkey :relfileprefix: ../../ :mrdocs: Returns the output's locking script. == Synopsis Declared in `<kernel/bitcoinkernel_wrapper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:btck/ScriptPubkeyView.adoc[ScriptPubkeyView] GetScriptPubkey() const; ---- == Return Value A view of the script pubkey. [.small]#Created with https://www.mrdocs.com[MrDocs]#