feeAmounts
feeAmounts(
base,decl):object
Each fee is floor(base × rate / 10 000).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
base |
bigint |
decl |
Pick<FeeDeclaration, "protocolBps" | "appBps"> |
Returns
Section titled “Returns”object
protocol
Section titled “protocol”protocol:
bigint
app:
bigint