View loan status
This guide explains how to check the status of your loans and collateral across all inventory pools.
Request Borrower Status
GET https://api.nomial.io/borrowers/0x1234...{
"borrower": {
"name": "borrower1",
"address": "0x1234..."
},
"collateral": {
"assets": [
{
"collateral_pool_address": "0x...",
"chain": {
"id": "1",
"name": "ethereum"
},
"token": {
"address": "0x...",
"name": "Wrapped Ether",
"symbol": "WETH",
"decimals": 18
},
"balance": {
"amount": "10.0",
"raw": "10000000000000000000"
}
}
]
},
"debt": [
{
"pool_address": "0x...",
"chain": {
"id": "1",
"name": "ethereum"
},
"token": {
"address": "0x...",
"name": "USD Coin",
"symbol": "USDC",
"decimals": 6
},
"base_debt": {
"amount": "1000.0",
"raw": "1000000000"
},
"penalty_debt": {
"amount": "0.0",
"raw": "0"
}
}
]
}Understanding the Response
Last updated