MaxFeeResponse
in package
Represents the distribution of maximum fees submitted
Contains statistical measures of max_fee values submitted with recent transactions including min, max, mode, and various percentiles. All values are in stroops.
Tags
Table of Contents
Methods
- fromJson() : MaxFeeResponse
- getMax() : string
- Gets the maximum max_fee submitted
- getMin() : string
- Gets the minimum max_fee submitted
- getMode() : string
- Gets the mode max_fee submitted
- getP10() : string
- Gets the 10th percentile max_fee
- getP20() : string
- Gets the 20th percentile max_fee
- getP30() : string
- Gets the 30th percentile max_fee
- getP40() : string
- Gets the 40th percentile max_fee
- getP50() : string
- Gets the 50th percentile (median) max_fee
- getP60() : string
- Gets the 60th percentile max_fee
- getP70() : string
- Gets the 70th percentile max_fee
- getP80() : string
- Gets the 80th percentile max_fee
- getP90() : string
- Gets the 90th percentile max_fee
- getP95() : string
- Gets the 95th percentile max_fee
- getP99() : string
- Gets the 99th percentile max_fee
- loadFromJson() : void
Methods
fromJson()
public
static fromJson(array<string|int, mixed> $json) : MaxFeeResponse
Parameters
- $json : array<string|int, mixed>
Return values
MaxFeeResponsegetMax()
Gets the maximum max_fee submitted
public
getMax() : string
Return values
string —The maximum max_fee in stroops
getMin()
Gets the minimum max_fee submitted
public
getMin() : string
Return values
string —The minimum max_fee in stroops
getMode()
Gets the mode max_fee submitted
public
getMode() : string
The most common max_fee value.
Return values
string —The mode max_fee in stroops
getP10()
Gets the 10th percentile max_fee
public
getP10() : string
Return values
string —The P10 max_fee in stroops
getP20()
Gets the 20th percentile max_fee
public
getP20() : string
Return values
string —The P20 max_fee in stroops
getP30()
Gets the 30th percentile max_fee
public
getP30() : string
Return values
string —The P30 max_fee in stroops
getP40()
Gets the 40th percentile max_fee
public
getP40() : string
Return values
string —The P40 max_fee in stroops
getP50()
Gets the 50th percentile (median) max_fee
public
getP50() : string
Return values
string —The P50 max_fee in stroops
getP60()
Gets the 60th percentile max_fee
public
getP60() : string
Return values
string —The P60 max_fee in stroops
getP70()
Gets the 70th percentile max_fee
public
getP70() : string
Return values
string —The P70 max_fee in stroops
getP80()
Gets the 80th percentile max_fee
public
getP80() : string
Return values
string —The P80 max_fee in stroops
getP90()
Gets the 90th percentile max_fee
public
getP90() : string
Return values
string —The P90 max_fee in stroops
getP95()
Gets the 95th percentile max_fee
public
getP95() : string
Return values
string —The P95 max_fee in stroops
getP99()
Gets the 99th percentile max_fee
public
getP99() : string
Return values
string —The P99 max_fee in stroops
loadFromJson()
protected
loadFromJson(array<string|int, mixed> $json) : void
Parameters
- $json : array<string|int, mixed>