2.0.3 ā€¢ Published 1 year ago

@coxy/crypto-currency-data v2.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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
}
2.0.3

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago