chaingate
Version:
A complete TypeScript library for connecting to and making transactions on different blockchains
15 lines (14 loc) • 941 B
TypeScript
import { Address } from '../../../../Wallet/entities/Address';
import { UtxoWallet } from '../../abstract/UtxoWallet/UtxoWallet';
import { Transports } from '../../Transports';
import { BitcoinCashPreparedTransaction } from './BitcoinCashPreparedTransaction';
import { BitcoinCashInfo } from '../../../CurrencyInfo';
import { UtxoCurrencyUtils } from '../../../CurrencyUtils/abstract/UtxoCurrencyUtils/UtxoCurrencyUtils';
import { BitcoinCashUtils, CurrencyAmount } from '../../../CurrencyUtils';
export declare class BitcoinCashWallet extends UtxoWallet<typeof BitcoinCashInfo> {
utils: BitcoinCashUtils;
transports: Transports;
constructor(utils: UtxoCurrencyUtils<typeof BitcoinCashInfo>, transports: Transports);
getAddress(addressType?: 'legacy' | 'cashaddr' | 'bitpay'): Promise<string>;
createTransfer(toAddress: Address, amount: CurrencyAmount<typeof BitcoinCashInfo>): Promise<BitcoinCashPreparedTransaction>;
}