chaingate
Version:
A complete TypeScript library for connecting to and making transactions on different blockchains
14 lines (13 loc) • 811 B
TypeScript
import { 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> {
currencyProviders: CurrencyProviders;
protected constructor(currencyInfo: CurrencyInfo, api: UtxoApi, currencyProviders: CurrencyProviders, networkParams: NetworkParams);
createTransfer(toAddress: Address, amount: CurrencyAmount): Promise<UtxoPreparedTransaction<DefaultUnit>>;
}