@ledgerhq/types-cryptoassets

Ledger types for crypto assets and tokens

Usage no npm install needed!

<script type="module">
  import ledgerhqTypesCryptoassets from 'https://cdn.skypack.dev/@ledgerhq/types-cryptoassets';
</script>

README

@ledgerhq/types-cryptoassets

Ledger types for crypto assets and tokens.

API

Table of Contents

Unit

Type: {name: string, code: string, magnitude: number, showAllDigits: boolean?, prefixCode: boolean?}

Properties

CurrencyCommon

Type: {name: string, ticker: string, units: Array<Unit>, symbol: string?, disableCountervalue: boolean?, delisted: boolean?, countervalueTicker: string?}

Properties

TokenCurrency

Type: any

FiatCurrency

Type: any

ExplorerView

Type: {tx: string?, address: string?, token: string?}

Properties

CryptoCurrency

Type: any

Currency

Type: (FiatCurrency | CryptoCurrency | TokenCurrency)