@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) • 495 B
TypeScript
import { SignTxParams } from "@okxweb3/coin-base";
import { BtcWallet } from "./BtcWallet";
import * as bitcoin from "../index";
import { utxoTx } from "../index";
export declare class RuneWallet extends BtcWallet {
convert2RuneTx(paramData: any): utxoTx;
signTransaction(param: SignTxParams): Promise<any>;
private getOpReturnOutput;
estimateFee(param: SignTxParams): Promise<number>;
}
export declare class RuneTestWallet extends RuneWallet {
network(): bitcoin.Network;
}