Function NetworkClient.getPreimages

Returns the preimages for the specified enroll keys.

PreImageInfo[] getPreimages (
  Set!(geod24.bitblob.BitBlob!(64L).BitBlob) enroll_keys = Set(null)
) nothrow @trusted;

Parameters

NameDescription
enroll_keys Set of enrollment keys. If the set of enroll_keys is null or empty, then all preimages known to the node are returned.

Returns

The preimages for the specified enroll keys. If the requested node doesn't know the preimage for a specific enroll key, then it will not be included in the result.

API

GET /preimages