@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.
13 lines (12 loc) • 621 B
TypeScript
import { GetDerivedPathParam, MpcTransactionParam, SignTxParams } from '@okxweb3/coin-base';
import { BtcWallet } from './BtcWallet';
import * as bitcoin from '../index';
export declare class BsvWallet extends BtcWallet {
network(): bitcoin.Network;
getDerivedPath(param: GetDerivedPathParam): Promise<any>;
signTransaction(param: SignTxParams): Promise<any>;
estimateFee(param: SignTxParams): Promise<number>;
getMPCRawTransaction(param: SignTxParams): Promise<any>;
getMPCTransaction(param: MpcTransactionParam): Promise<any>;
getHardWareRawTransaction(param: SignTxParams): Promise<any>;
}