[#btck-BlockSpentOutputs]
= xref:btck.adoc[btck]::BlockSpentOutputs
:relfileprefix: ../
:mrdocs:

Owning wrapper over a `btck&lowbar;BlockSpentOutputs`, the undo data of a whole block&period;

== Synopsis

Declared in `&lt;kernel&sol;bitcoinkernel&lowbar;wrapper&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class BlockSpentOutputs
    : public xref:btck/Handle-046.adoc[Handle&lt;btck&lowbar;BlockSpentOutputs, btck&lowbar;block&lowbar;spent&lowbar;outputs&lowbar;copy, btck&lowbar;block&lowbar;spent&lowbar;outputs&lowbar;destroy&gt;]
----

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `xref:btck/Handle-046.adoc[Handle&lt;btck&lowbar;BlockSpentOutputs, btck&lowbar;block&lowbar;spent&lowbar;outputs&lowbar;copy, btck&lowbar;block&lowbar;spent&lowbar;outputs&lowbar;destroy&gt;]`
| Owning RAII handle for a copyable C object of type `CType&period;`
|===

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:btck/BlockSpentOutputs/2constructor.adoc[`BlockSpentOutputs`]         [.small]#[constructor]#
| Takes ownership of an existing C block spent&hyphen;outputs object&period;
| xref:btck/BlockSpentOutputs/operator_assign-0d.adoc[`operator&equals;`] 
| Assignment operators
| xref:btck/BlockSpentOutputs/Count.adoc[`Count`] 
| Returns the number of per&hyphen;transaction spent&hyphen;output sets&period;
| xref:btck/BlockSpentOutputs/GetTxSpentOutputs.adoc[`GetTxSpentOutputs`] 
| Returns the spent outputs of one transaction in the block&period;
| xref:btck/BlockSpentOutputs/TxsSpentOutputs-0c.adoc[`TxsSpentOutputs`] 
| Returns a range over every transaction&apos;s spent outputs in the block&period;
| xref:btck/BlockSpentOutputs/get-07.adoc[`get`] 
| Returns the owned C handle&period;
|===


== Protected Data Members

[cols="1,4"]
|===
| Name| Description
| xref:btck/BlockSpentOutputs/m_ptr.adoc[`m&lowbar;ptr`] 
| The owned C handle&period;
|===



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