Skip to main content
Version: 1.15.0

Type Alias: TokenPoolFee

TokenPoolFee = { destBytesOverhead: number; destGasOverhead: number; feeUSDCents: bigint; isEnabled: boolean; tokenFeeBps: number; }

Defined in: cct/evm/token-pool/contracts.ts:407

Fee parameters a v2.0.0 pool resolves for one destination chain and requested finality mode.

Remarks​

This is the selected standard- or fast-finality tier, not the raw stored pair of tiers. When isEnabled is false, every numeric field is zero. See TokenTransferFeeConfig for the raw configuration returned by getTokenTransferFeeConfig.

Properties​

destBytesOverhead​

destBytesOverhead: number

Defined in: cct/evm/token-pool/contracts.ts:413

Byte overhead added to the destination-chain data-availability-cost estimate.


destGasOverhead​

destGasOverhead: number

Defined in: cct/evm/token-pool/contracts.ts:411

Gas overhead added to the destination-chain execution-cost estimate.


feeUSDCents​

feeUSDCents: bigint

Defined in: cct/evm/token-pool/contracts.ts:409

USD surcharge, in cents, added to the CCIP fee for the selected finality tier.


isEnabled​

isEnabled: boolean

Defined in: cct/evm/token-pool/contracts.ts:417

Whether the destination chain has an enabled token-transfer fee configuration.


tokenFeeBps​

tokenFeeBps: number

Defined in: cct/evm/token-pool/contracts.ts:415

Transfer amount deducted as a fee, in basis points (0..9999; one BPS is 0.01%).