View loan status
This guide explains how to check the status of your loans and collateral across all inventory pools.
Request Borrower Status
Make a GET request to https://api.nomial.io/borrowers/{address}
where {address}
is your borrower address:
The API will return current collateral and debt for the borrower:
Understanding the Response
The response includes:
Borrower Information:
name
: The name of the borroweraddress
: The borrower's address
Collateral Information:
assets
: Array of collateral assets, each containing:collateral_pool_address
: The address of the pool where the asset is depositedchain
: Chain details (ID and name)token
: Token details (address, name, symbol, decimals)balance
: Amount currently deposited
Debt Information:
Array of debt positions by pool, each containing:
pool_address
: The inventory pool addresschain
: Chain details (ID and name)token
: Token details (address, name, symbol, decimals)base_debt
: Principal and interest the borrower owes to the poolpenalty_debt
: Late payment penalties the borrower owes to the pool
If the borrower has no collateral or no debt, these arrays will be empty in the response.
Last updated