InclusionFee
in package
Fee distribution statistics for transaction inclusion.
Table of Contents
Properties
- $ledgerCount : int
- $max : string
- $min : string
- $mode : string
- $p10 : string
- $p20 : string
- $p30 : string
- $p40 : string
- $p50 : string
- $p60 : string
- $p70 : string
- $p80 : string
- $p90 : string
- $p95 : string
- $p99 : string
- $transactionCount : string
Methods
- __construct() : mixed
- fromJson() : static
- Creates an instance from JSON-RPC response data
Properties
$ledgerCount
public
int
$ledgerCount
$max
public
string
$max
$min
public
string
$min
$mode
public
string
$mode
$p10
public
string
$p10
$p20
public
string
$p20
$p30
public
string
$p30
$p40
public
string
$p40
$p50
public
string
$p50
$p60
public
string
$p60
$p70
public
string
$p70
$p80
public
string
$p80
$p90
public
string
$p90
$p95
public
string
$p95
$p99
public
string
$p99
$transactionCount
public
string
$transactionCount
Methods
__construct()
public
__construct(string $max, string $min, string $mode, string $p10, string $p20, string $p30, string $p40, string $p50, string $p60, string $p70, string $p80, string $p90, string $p95, string $p99, string $transactionCount, int $ledgerCount) : mixed
Parameters
- $max : string
-
Maximum fee
- $min : string
-
Minimum fee
- $mode : string
-
Fee value which occurs most often
- $p10 : string
-
10th nearest-rank fee percentile
- $p20 : string
-
20th nearest-rank fee percentile
- $p30 : string
-
30th nearest-rank fee percentile
- $p40 : string
-
40th nearest-rank fee percentile
- $p50 : string
-
50th nearest-rank fee percentile
- $p60 : string
-
60th nearest-rank fee percentile
- $p70 : string
-
70th nearest-rank fee percentile
- $p80 : string
-
80th nearest-rank fee percentile
- $p90 : string
-
90th nearest-rank fee percentile
- $p95 : string
-
95th nearest-rank fee percentile
- $p99 : string
-
99th nearest-rank fee percentile
- $transactionCount : string
-
Number of transactions in the distribution
- $ledgerCount : int
-
Number of consecutive ledgers forming the distribution
fromJson()
Creates an instance from JSON-RPC response data
public
static fromJson(array<string, mixed> $json) : static
Parameters
- $json : array<string, mixed>
-
The JSON response data
Return values
static —The created instance