A type that represents an NFT loan transaction.
type Loan = {
loan: LoanDetails;
offer: Offer;
buyerNft: SellerFinancingReceiptNFT;
sellerNft: SellerFinancingReceiptNFT;
paymentHistory: PaymentHistoryItem[];
status: "ACTIVE" | "FULLY_REPAID" | "ASSET_SEIZED";
};
These properties provide details about the loan transaction, which can be used for various purposes such as tracking loan repayment progress, calculating interest, and determining the status of the loan.
loan
LoanDetails (link)
offer
Offer (link)
buyerNft
SellerFinancingReceiptNFT (link)
sellerNft
SellerFinancingReceiptNFT (link)
paymentHistory
An array of PaymentHistoryItem (link) types representing the payment history of the loan.
status
A string representing the status of the loan. It can have one of the following values: "ACTIVE", "FULLY_REPAID", or "ASSET_SEIZED".