/moria Endpoints
Base URL: /moria
Available Endpoints
/history?<offset>&<limit>&<nfth>
Endpoint: GET /history
Status: Unstable
Description: Get global moria action history with pagination and optional nfth filter.
- offset: Number of entries to skip (default: 0)
- limit: Maximum entries to return (default: 50, max: 200)
- nfth: Comma-separated list of borrower NFT hashes (64-char hex each) to filter by
Example URI: /history
/loan/<borrower_hash>/history
Endpoint: GET /loan/<borrower_hash>/history
Status: Unstable
Description: Get full loan history for a given borrower NFT hash.
- borrower_hash: 64-character hex string (32-byte P2NFTH hash identifying the loan)
Returns an array of all actions (borrow, repay, redeem, refinance, add_collateral) for this loan, sorted by timestamp.
/loans/active
Endpoint: GET /loans/active
Status: Unstable
Description: List all active (not yet repaid/redeemed) loans.
Example URI: /loans/active
/stats
Endpoint: GET /stats
Status: Unstable
Description: Get Moria protocol statistics.
Example URI: /stats