UNPKG

chaingate

Version:

A complete TypeScript library for connecting to and making transactions on different blockchains

10 lines (9 loc) 587 B
import { UtxoApi } from 'chaingate-client'; import { LegacyUtxo } from '../LegacyUtxo/LegacyUtxo'; import { CurrencyInfo } from '../../CurrencyInfo'; import { NetworkParams } from '../Utxo/NetworkParams'; import { CurrencyProviders } from '../../CurrencyProviders'; export declare class Bech32Utxo<DefaultUnitSpecifier extends string> extends LegacyUtxo<DefaultUnitSpecifier> { constructor(currencyInfo: CurrencyInfo, api: UtxoApi, currencyProviders: CurrencyProviders, networkParams: NetworkParams); getAddress(addressType?: 'legacy' | 'segwit' | 'taproot'): Promise<string>; }