Skip to main content
WSS
Subscribe to the lending rates channel
type:object
Lending Rate Tick Snapshot

The last observed lending rate tick, replayed once on subscribe (isSnapshot: true). When no tick has been observed since server start, the subscribe ack carries empty contents ({}) instead.

Lending Rate Tick

Each frame carries the current annual borrow rate and the global cumulative borrow index. A borrower's live accrued interest = loanBalance × (borrowIndex − the account's lastBorrowIndex) / 1e12.