Developer Documentation
  • Welcome!
  • User Documentation
  • How To
    • Lend and Borrow fCash
      • Batch Trades
      • Wrapped fCash
      • OTC Trading (ERC1155)
    • Mint and Redeem nTokens
    • Manage Account Assets
    • Liquidations
      • Monitor Account Risk
    • Leveraged Vaults
      • Vault Concepts
      • User Journeys
      • Designing a Vault
      • Building a Vault
      • Vault Configuration
  • Off Chain
    • Typescript SDK Reference
      • Risk Metrics
    • Subgraph Reference
  • On Chain
    • Notional ABI Reference
      • Account Methods
      • Trade Helpers
      • nToken View Methods
    • Notional Governance Reference
Powered by GitBook
On this page
  • nTokenAddress
  • calculateNTokensToMint
  • getNTokenPortfolio
  • getNTokenAccount
  • nTokenPresentValueUnderlyingDenominated
  • nTokenPresentValueAssetDenominated
  1. On Chain
  2. Notional ABI Reference

nToken View Methods

nTokenAddress

Returns the nToken address for the given currency id. Will return all zeros if there is no nToken (this will be the case if the currency cannot be traded in fCash markets).

Params

  • uint16 currencyId

Returns

  • address nTokenAddress

calculateNTokensToMint

getNTokenPortfolio

Params

  • address nTokenAddress

Returns

  • address nTokenAddress

getNTokenAccount

nTokenPresentValueUnderlyingDenominated

nTokenPresentValueAssetDenominated

PreviousTrade HelpersNextNotional Governance Reference

Last updated 3 years ago