Skip to main content
Version: 10.x

Type Alias: TipEstimate

TipEstimate = object

Defined in: src/provider/modules/tip.ts:22

Result of provider.getTipStatsFromBlocks().

Param

minimum tip encountered in the analyzed blocks.

Param

maximum tip encountered in the analyzed blocks.

Param

average tip encountered in the analyzed blocks.

Param

median (middle value) tip encountered in the analyzed blocks.

Param

mode (most frequent) tip encountered in the analyzed blocks.

Param

suggested tip amount (median tip) for optimal inclusion probability.

Param

90th percentile tip (90% of tips are below this value).

Param

95th percentile tip (95% of tips are below this value).

Param

Optional performance metrics for the analysis.

Properties

minTip

minTip: bigint

Defined in: src/provider/modules/tip.ts:23


maxTip

maxTip: bigint

Defined in: src/provider/modules/tip.ts:24


averageTip

averageTip: bigint

Defined in: src/provider/modules/tip.ts:25


medianTip

medianTip: bigint

Defined in: src/provider/modules/tip.ts:26


modeTip

modeTip: bigint

Defined in: src/provider/modules/tip.ts:27


recommendedTip

recommendedTip: bigint

Defined in: src/provider/modules/tip.ts:28


p90Tip

p90Tip: bigint

Defined in: src/provider/modules/tip.ts:29


p95Tip

p95Tip: bigint

Defined in: src/provider/modules/tip.ts:30


metrics?

optional metrics?: object

Defined in: src/provider/modules/tip.ts:31

blocksAnalyzed

blocksAnalyzed: number

transactionsTipsFound

transactionsTipsFound: bigint[]