latest

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

Gets the most recent randomness beacon from a network by beacon ID.

Return

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

Parameters

id

The beacon identifier (e.g., "default", "quicknet")