# Maximum loan amount

Assuming that there are n token pairs in an NFT pool, the one with the highest collateral rate will be taken from the pool at first. Each token will correspond to an asset ratio. The asset ratio is calculated as follows:

$x_{rate}=x_{im}/(x_{ic}*N)$

$x_{im}x_{ic}$represents the token quantity and collateral rate of the token pair, and N represents the NFT asset value.

The maximum loan amount $V_{max}$ is calculated by arranging from largest to smallest collateral rate.

$V_{max}=x_{1m}+x_{2m}+……x_{km}$

Among this:

$\sum_{i=1}^k x_{irate} < 1$

Last updated