Function EnrollmentPool.getEnrollment

Get the enrollment with the key

Enrollment getEnrollment (
  in ref const(geod24.bitblob.BitBlob!(64L)) enroll_hash,
  in const(Height) req_height = Height(0LU)
) nothrow @trusted;

Parameters

NameDescription
enroll_hash key for the enrollment which has the frozen UTXO
req_height optional height argument to get an enrollment for a specific avail_height

Returns

Return an Enrollment if the enrollment is found, otherwise Enrollment.init