API reference
API reference
Select your platform
No SDKs available
No versions available

SupplementaryMetric

Updated: Oct 30, 2025

SupplementaryMetric

interface SupplementaryMetric
This is a supplemental piece of data that is used for a single write to leaderboard entries. This metric is used for tiebreaker scenarios. You can make such an entry by using horizon.platform.leaderboards.Leaderboards.writeEntryWithSupplementaryMetric

Properties

NameSummary
id
abstract val id: String
The ID of the leaderboard that this supplementary metric belongs to. This is the unique value for every horizon.platform.leaderboards.models.Leaderboard.
json
open val json: String
metric
abstract val metric: Long
This is the metric that is used to determine tiebreaks.