[#btck-TransactionOutput-2constructor-09] = xref:btck.adoc[btck]::xref:btck/TransactionOutput.adoc[TransactionOutput]::TransactionOutput :relfileprefix: ../../ :mrdocs: Constructs an output from a script pubkey and amount. == Synopsis Declared in `<kernel/bitcoinkernel_wrapper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit TransactionOutput( xref:btck/ScriptPubkey.adoc[ScriptPubkey] const& script_pubkey, int64_t amount); ---- == Parameters [cols="1,4"] |=== | Name| Description | *script_pubkey* | The output's locking script. | *amount* | The output value in satoshis. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#