Skip to content

@lelantos-org/sdk / protocol / DepositTotals

Interface: DepositTotals ​

Defined in: @lelantos-org/sdk/dist/protocol/fees.d.ts:156

A shield's cost split by what it pays for, in ERC-20 base units.

On the single-token path the pool pulls the two as one amount, and principal + relayer equals depositTotal exactly.

Properties ​

principal ​

ts
principal: TokenAmount;

Defined in: @lelantos-org/sdk/dist/protocol/fees.d.ts:158

The principal and the protocol fee, in the deposit token.


relayer ​

ts
relayer: TokenAmount;

Defined in: @lelantos-org/sdk/dist/protocol/fees.d.ts:160

The relayer's fee note, in the token it is paid in.