wallet::CCoinControl::GetSelectionPos

Returns the selection order position stored for the given pre-selected output, if any.

Synopsis

Declared in <wallet/coincontrol.h>

std::optional<unsigned int>
GetSelectionPos(COutPoint const& outpoint) const;

Return Value

The stored selection order position, or nullopt if none is set.

Parameters

NameDescription
outpointThe pre-selected output to look up.