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