@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
12 lines (11 loc) • 460 B
TypeScript
import { SignTxParams } from "@okxweb3/coin-base";
import { BtcWallet } from "./BtcWallet";
import * as bitcoin from "../index";
export declare class UsdtWallet extends BtcWallet {
signTransaction(param: SignTxParams): Promise<any>;
estimateFee(param: SignTxParams): Promise<number>;
getHardWareRawTransaction(param: SignTxParams): Promise<any>;
}
export declare class UsdtTestWallet extends UsdtWallet {
network(): bitcoin.networks.Network;
}