@lelantos-org/sdk / core / applyFee
Function: applyFee() โ
ts
function applyFee(amount, feeBps): bigint;Defined in: @lelantos-org/sdk/dist/core/fees.d.ts:14
Fee on amount at feeBps, truncated โ matches Solidity integer division.
Parameters โ
| Parameter | Type |
|---|---|
amount | bigint |
feeBps | bigint |
Returns โ
bigint