@lelantos-org/sdk / protocol / descendingAtMost
Function: descendingAtMost()
ts
function descendingAtMost(
max,
ladder,
limit
): bigint[];Defined in: @lelantos-org/sdk/dist/protocol/denominations.d.ts:44
The limit largest denominations not exceeding max, descending.
A fallback chain: a self-spend paying a relayer fee out of the same cover may not afford the largest reachable denomination and needs the next one down.
Parameters
| Parameter | Type |
|---|---|
max | bigint |
ladder | Ladder |
limit | number |
Returns
bigint[]