@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.
11 lines (10 loc) • 506 B
TypeScript
/// <reference types="@scrypt-inc/bsv" />
/// <reference types="scrypt-ts/dist/smart-contract/bsv/privatekey" />
/// <reference types="scrypt-ts/dist/smart-contract/bsv/publickey" />
/// <reference types="scrypt-ts/dist/smart-contract/bsv/address" />
import { UTXO } from "scrypt-ts";
import { EcKeyService } from "../utils";
export declare function mergeFee(ecKey: EcKeyService, feeUtxos: UTXO[], feeRate: number): {
mergeTx: any;
feeUtxo: import("@scrypt-inc/bsv").Transaction.IUnspentOutput;
};