Get debt

Get debt on Euler

Ethereum
Ethereum
Base
Base

Reads onchain state

Reads how much an account owes an Euler vault. debtOf is the account's debt with the vault's interest accrued to this block, rounded up as the vault itself rounds what it is owed, so it is exactly what a full repayment would pull. Reach for it to size a repayment, or to act when a debt grows past a threshold.

Plug lets you combine onchain actions like this one into a single transaction, without writing a smart contract. Use in App opens a new plug with this action already in it.

More on Euler · 16