UNPKG

@okxweb3/coin-bitcoin

Version:

@okxweb3/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

14 lines (13 loc) 794 B
import { GetAddressParams, GetDerivedPathParam, MpcTransactionParam, NewAddressParams, SignTxParams, ValidAddressParams } from "@okxweb3/coin-base"; import { BtcWallet } from "./BtcWallet"; export declare class BchWallet extends BtcWallet { 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>; }