Stellar PHP SDK API Documentation

InclusionFee

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

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


        
On this page

Search results