FeeDistribution

@Serializable
data class FeeDistribution(val min: Long, val max: Long, val mode: Long, val p10: Long, val p20: Long, val p30: Long, val p40: Long, val p50: Long, val p60: Long, val p70: Long, val p80: Long, val p90: Long, val p95: Long, val p99: Long)

Represents the statistical distribution of transaction fees.

This provides various percentiles and aggregates to help users understand the fee landscape and choose an appropriate fee for their transactions.

All values are in stroops (1 XLM = 10,000,000 stroops).

Constructors

Link copied to clipboard
constructor(min: Long, max: Long, mode: Long, p10: Long, p20: Long, p30: Long, p40: Long, p50: Long, p60: Long, p70: Long, p80: Long, p90: Long, p95: Long, p99: Long)

Properties

Link copied to clipboard
@SerialName(value = "max")
val max: Long

The maximum fee in the distribution

Link copied to clipboard
@SerialName(value = "min")
val min: Long

The minimum fee in the distribution

Link copied to clipboard
@SerialName(value = "mode")
val mode: Long

The most common fee (mode of the distribution)

Link copied to clipboard
@SerialName(value = "p10")
val p10: Long

10th percentile - 10% of transactions had fees at or below this value

Link copied to clipboard
@SerialName(value = "p20")
val p20: Long

20th percentile

Link copied to clipboard
@SerialName(value = "p30")
val p30: Long

30th percentile

Link copied to clipboard
@SerialName(value = "p40")
val p40: Long

40th percentile

Link copied to clipboard
@SerialName(value = "p50")
val p50: Long

50th percentile (median)

Link copied to clipboard
@SerialName(value = "p60")
val p60: Long

60th percentile

Link copied to clipboard
@SerialName(value = "p70")
val p70: Long

70th percentile

Link copied to clipboard
@SerialName(value = "p80")
val p80: Long

80th percentile

Link copied to clipboard
@SerialName(value = "p90")
val p90: Long

90th percentile - 90% of transactions had fees at or below this value

Link copied to clipboard
@SerialName(value = "p95")
val p95: Long

95th percentile

Link copied to clipboard
@SerialName(value = "p99")
val p99: Long

99th percentile