@ledgerhq/types-cryptoassets
TypeScript icon, indicating that this package has built-in type declarations

7.11.0 • Public • Published

@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?, keywords: Array<string>?}

Properties

TokenCurrency

Type: any

FiatCurrency

Type: any

ExplorerView

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

Properties

CryptoCurrency

Type: any

Currency

Type: (FiatCurrency | CryptoCurrency | TokenCurrency)

Readme

Keywords

Package Sidebar

Install

npm i @ledgerhq/types-cryptoassets

Weekly Downloads

1,487

Version

7.11.0

License

Apache-2.0

Unpacked Size

71.4 kB

Total Files

26

Last publish

Collaborators

  • thomas.coudray
  • ldg-github-ci
  • aboissiere
  • vbouzon
  • gbrahm-ledger
  • sergii-shkolin
  • phenry-ledger