chaingate
Version:
A complete TypeScript library for connecting to and making transactions on different blockchains
12 lines (11 loc) • 843 B
TypeScript
import { Address } from '../../../../Wallet/entities/Address';
import { PrivateKeyProvider } from '../../Transports';
import { Txo, TxVout, UtxoTransaction } from '../UtxoWallet/UtxoTransaction';
import { NetworkParams } from '../UtxoWallet/NetworkParams';
import { CurrencyInfo } from '../../../CurrencyInfo';
import { CurrencyAmount } from '../../../CurrencyUtils';
import { UtxoCurrencyUtils } from '../../../CurrencyUtils/abstract/UtxoCurrencyUtils/UtxoCurrencyUtils';
export declare class LegacyUtxoPreparedTransaction<CI extends CurrencyInfo> extends UtxoTransaction<CI> {
constructor(utils: UtxoCurrencyUtils<CI>, fromAddress: Address, toAddress: Address, amount: CurrencyAmount<CI>, networkParams: NetworkParams, privateKeyProvider: PrivateKeyProvider);
protected sign(inputs: Txo[], outputs: TxVout[]): Promise<Uint8Array>;
}