getVerifiedBeacon

suspend fun getVerifiedBeacon(beaconId: String, round: Long): Result<RandomnessBeacon>

Fetches and verifies a specific round of randomness from a drand network.

This method performs the complete verification pipeline:

  1. Fetches chain configuration (cached if available)

  2. Fetches the beacon for the requested round

  3. Verifies the beacon cryptographically

Return

Result containing the verified RandomnessBeacon on success, or DrandError if fetching or verification fails

Parameters

beaconId

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

round

The round number to fetch (must be positive)