0.1.1 • Published 4 years ago

eos-token-info v0.1.1

Weekly downloads
87
License
Apache-2.0
Repository
github
Last release
4 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

4 years ago

0.1.0

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago