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

Returns a single witness item by index&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::vector&lt;std::byte&gt;
GetItem(size&lowbar;t index) const;
----

== Return Value

The item&apos;s raw bytes&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *index*
| The zero&hyphen;based item index&period;
|===


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