Skip to content

@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 โ€‹

ParameterType
amountbigint
feeBpsbigint

Returns โ€‹

bigint

Lelantosno cookies ๐Ÿช ยท no tracking ๐Ÿ‘๏ธ ยท no accounts ๐Ÿ‘คwalletexplorer4536080GitHub