0.1.1 • Published 5 years ago

eos-token-info v0.1.1

Weekly downloads
87
License
Apache-2.0
Repository
github
Last release
5 years ago

eos-token-info

All EOS tokens information.

How to use

/* eslint-disable import/no-unresolved,no-console */
const { getTokenInfo } = require("eos-token-info");

console.info(getTokenInfo("EIDOS"));

API Manual

There is only one API in this library:

/**
 * Get the symbol info.
 *
 * @param symbol The currency symbol, e.g., EIDOS, DICE, KEY, etc.
 * @returns TokenInfo
 */
export function getTokenInfo(symbol: string): TokenInfo;

Which returns an TokenInfo:

export interface TokenInfo {
  symbol: string;
  contract: string;
  decimals: number;
  issuer: string;
  maximum_supply: number;
}

References

0.1.1

5 years ago

0.1.0

5 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago