@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.
8 lines (7 loc) • 538 B
TypeScript
import { OpenMinterTokenInfo, SupportedNetwork, TokenContract, TokenMetadata, UtxoInput } from "../common";
import { UTXO } from "scrypt-ts";
import { EcKeyService } from "./eckey";
export declare function tokenInfoParse(tokenStr: string, network: SupportedNetwork): TokenMetadata;
export declare function feeUtxoParse(ecKey: EcKeyService, utxos: UtxoInput[]): UTXO[];
export declare function tokenUtxoParse(tokenUtxos: string): Array<TokenContract>;
export declare function scaleConfig(config: OpenMinterTokenInfo): OpenMinterTokenInfo;