Skip to content

FeeCalculationResult

SIP Protocol API Reference v0.15.1


SIP Protocol API Reference / FeeCalculationResult

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:4348

Fee calculation result

protocolFee: bigint

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:4350

Protocol fee in source token smallest units


protocolFeeUsd: number

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:4352

Protocol fee in USD


appliedBps: number

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:4354

Fee rate applied (basis points)


optional tierName?: string

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:4356

Fee tier used (if tiered model)


discountBps: number

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:4358

Discount applied (if viewing key disclosed)


originalFee: bigint

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:4360

Original fee before discount


breakdown: FeeBreakdown

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:4362

Fee breakdown for display