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