UNPKG

chaingate

Version:

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

13 lines (12 loc) 811 B
import { ChainGateClient, UtxoApi } from 'chaingate-client'; import { Address } from '../../../Address'; import { Utxo } from '../Utxo/Utxo'; import { CurrencyProviders } from '../../CurrencyProviders'; import { CurrencyInfo } from '../../CurrencyInfo'; import { NetworkParams } from '../Utxo/NetworkParams'; import { CurrencyAmount } from '../../CurrencyAmount'; import { UtxoPreparedTransaction } from '../Utxo/UtxoPreparedTransaction'; export declare abstract class LegacyUtxo<DefaultUnit extends string> extends Utxo<DefaultUnit> { protected constructor(currencyInfo: CurrencyInfo, client: ChainGateClient, api: UtxoApi, currencyProviders: CurrencyProviders, networkParams: NetworkParams); createTransfer(toAddress: Address, amount: CurrencyAmount): Promise<UtxoPreparedTransaction<DefaultUnit>>; }