latest

abstract suspend fun latest(chainHash: String): Result<RandomnessBeacon>

Gets the most recent randomness beacon from a network by chain hash.

Return

Result containing the latest RandomnessBeacon on success, or DrandError on failure

Parameters

chainHash

The chain hash (hex-encoded, 64 characters, no "0x" prefix)