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