nTokenAddress = notional.nTokenAddress(currencyId)
nTokenSupply = notional.nTokenTotalSupply(nTokenAddress)
nTokenPV = notional.nTokenPresentValueUnderlyingDenominated(currencyId)
Get the underlying value of one nToken
nTokenValue = nTokenPV / nTokenSupply
An nToken portfolio can hold multiple positions (Prime Cash, fCash, Liquitity tokens):
nTokenPrimeCashBalance = notional.getNTokenAccount(nTokenAddress)["cashBalance"]
nTokenFCashPortfolio = notional.getNTokenPortfolio(nTokenAddress)["netfCashAssets"]
nToken3MFCashMaturity = notional.getNTokenPortfolio(nTokenAddress)["netfCashAssets"][0][1]
nToken3MFCashBalance = notional.getNTokenPortfolio(nTokenAddress)["netfCashAssets"][0][3]
nTokenLiquidityTokenPortfolio = notional.getNTokenPortfolio(nTokenAddress)["liquidityTokens"]
nToken3MLiquidityTokenMaturity = notional.getNTokenPortfolio(nTokenAddress)["liquidityTokens"][0][1]
nToken3MLiquidityTokenBalance = notional.getNTokenPortfolio(nTokenAddress)["liquidityTokens"][0][3]
nToken Annual Incentive Rate
The nToken annual incentive rate defines the number of NOTE tokens that are given as incentives annually to nToken holders:
incentiveAnnualRate = notional.getNTokenAccount(nTokenAddress)["incentiveAnnualEmissionRate"]