@okxweb3/coin-bitcoin
Version:
@ok/coin-bitcoin is a Bitcoin SDK for building Web3 wallets and applications. It supports BTC, BSV, DOGE, LTC, and TBTC, enabling private key management, transaction signing, address generation, and inscriptions like BRC-20, Runes, CAT, and Atomicals.
16 lines (15 loc) • 863 B
TypeScript
import { GetAddressParams, GetDerivedPathParam, MpcTransactionParam, NewAddressParams, SignTxParams, ValidAddressParams } from '@okxweb3/coin-base';
import { BtcWallet } from './BtcWallet';
import * as bitcoin from '../index';
export declare class BchWallet extends BtcWallet {
network(): bitcoin.Network;
getDerivedPath(param: GetDerivedPathParam): Promise<any>;
getNewAddress(param: NewAddressParams): Promise<any>;
validAddress(param: ValidAddressParams): Promise<any>;
signTransaction(param: SignTxParams): Promise<any>;
estimateFee(param: SignTxParams): Promise<number>;
getMPCRawTransaction(param: SignTxParams): Promise<any>;
getAddressByPublicKey(param: GetAddressParams): Promise<string>;
getMPCTransaction(param: MpcTransactionParam): Promise<any>;
getHardWareRawTransaction(param: SignTxParams): Promise<any>;
}