[#CCoinsViewCursor-GetKey]
= xref:CCoinsViewCursor.adoc[CCoinsViewCursor]::GetKey
:relfileprefix: ../
:mrdocs:

Retrieve the outpoint the cursor currently points at&period;

== Synopsis

Declared in `&lt;coins&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
bool
GetKey(xref:COutPoint.adoc[COutPoint]& key) const = 0;
----

== Return Value

True if a key was retrieved&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *key*
| Set to the current outpoint on success&period;
|===


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