Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Token

Hierarchy

  • Token

Index

Properties

fractionalDigits

fractionalDigits: number

The number of fractional digits the token supports.

A quantity is expressed as atomic units. 10^fractionalDigits of those atomic units make up 1 token.

E.g. in Ethereum 10^18 wei are 1 ETH and from the quantity 123000000000000000000 the last 18 digits are the fractional part and the rest the wole part.

tokenName

tokenName: string

A name to be displayed to the user which allows differentiation of multiple tokens that use the same ticker.

For example "Holo (HOT)" and "Hydro Protocol (HOT)" get the token names and "Holo" and "Hydro Protocol".

tokenTicker

tokenTicker: TokenTicker

Generated using TypeDoc