Skip to content

๐Ÿš€ Get 3000+ crypto currency information. Decimals, descriptions, website, contract ane etc...!

Notifications You must be signed in to change notification settings

dsshard/crypto-currency-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

54 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Crypto currency data information

Description

๐Ÿš€ Get 3000+ crypto currency information. Decimals, descriptions, website, contract ane etc...!

Install

npm install @coxy/crypto-currency-data

Create

import { findCryptoCurrencyData } from '@coxy/crypto-currency-data';

... or using CommonJS syntax:

const { findCryptoCurrencyData } = require('@coxy/crypto-currency-data');
const eth = findCryptoCurrencyData({ ticker: 'eth', network: 'eth' });
const tether = findCryptoCurrencyData({ network: 'eth', contract: '0xdac17f958d2ee523a2206206994597c13d831ec7' });
const inch = getCryptoCurrencyDataById(1);

console.log(validateCryptoAddress('0xdac17f958d2ee523a2206206994597c13d831ec7', tether))

console.log(eth) // eth coin information
console.log(tether) // tether token information
console.log(inch) // inch token information

Provide information by coin

type Coin = {
  id: number,
  network: string,
  ticker: string,
  regex_address:string,
  is_token: boolean,
  decimals_main: number,
  title: string,
  // only for tokens
  smart_contract?: string,
  
  // optional
  regex_extra_id?: string,
  extra_id_title?: string,
  url_block?: string,
  url_address?: string,
  launch_data?: string,
  description?: string,
  web_site?: string,
  decimals_display?: number,
  max_supply?: number,
  proof_type?: string,
  algorithm?: string,
  color?: string
}

About

๐Ÿš€ Get 3000+ crypto currency information. Decimals, descriptions, website, contract ane etc...!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published