Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Token

Contains main token's fields.

Hierarchy

Index

Constructors

  • new Token(tokenStruct: TokenStruct): Token

Properties

address: string
blockchain: BlockchainName
decimals: number
name: string
symbol: string

Accessors

  • get isNative(): boolean

Methods

  • clone(tokenStruct?: Partial<TokenStruct>): Token
  • createTokens(tokensAddresses: string[] | readonly string[], blockchain: BlockchainName): Promise<Token[]>
  • tokensToAddresses(tokens: Token[]): string[]

Generated using TypeDoc