@lifi/types
Version:
Types for the LI.FI stack
27 lines (24 loc) • 573 B
text/typescript
import type { CoinKey } from '../tokens/base.js'
import type { ChainKey } from './base.js'
export enum ChainType {
EVM = 'EVM',
// Solana virtual machine
SVM = 'SVM',
// Move virtual machine
MVM = 'MVM',
// Unspent transaction output (e.g. Bitcoin)
UTXO = 'UTXO',
// Tron virtual machine
TVM = 'TVM',
}
export interface _Chain {
key: ChainKey
chainType: ChainType
name: string
coin: CoinKey
id: number
mainnet: boolean
logoURI?: string
// faucetUrls is DEPRECATED - will be removed in the next breaking release
faucetUrls?: string[]
}