Skip to content

separate the interest from the principal #633

@studentweb3

Description

@studentweb3

Could you please show an example of how to retrieve the amount of accrued interest on a loan? The SDK itself doesn’t appear to expose this directly.
For instance, let’s say my USDC borrow position shows 1,325 USDC. I know I originally borrowed 1,000 USDC—how do I determine that the extra 325 USDC is the accrued interest?

An example using the Aave SDK’s npm package would be much appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions