@omnity/ree-client-ts-sdk 0.6.3 → 0.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -29
- package/dist/index.cjs.js +43 -113
- package/dist/index.d.ts +3 -16
- package/dist/index.es.js +9172 -12115
- package/dist/react.cjs.js +1 -1
- package/dist/react.d.ts +3 -35
- package/dist/react.es.js +133 -172
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -256,19 +256,6 @@ export declare class ReeClient {
|
|
|
256
256
|
* @returns Array of UTXOs containing the specified rune
|
|
257
257
|
*/
|
|
258
258
|
getRuneUtxos(address: string, runeId: string, publicKey?: string): Promise<Utxo[]>;
|
|
259
|
-
/**
|
|
260
|
-
* Search for runes by keyword or rune ID
|
|
261
|
-
* Supports both exact rune ID matches and fuzzy name matching
|
|
262
|
-
* @param keyword - Search term (rune ID or partial name)
|
|
263
|
-
* @returns Array of matching rune information
|
|
264
|
-
*/
|
|
265
|
-
searchRunes(keyword: string): Promise<RuneInfo[]>;
|
|
266
|
-
/**
|
|
267
|
-
* Get detailed information for a specific rune by ID
|
|
268
|
-
* @param runeId - The rune ID to look up
|
|
269
|
-
* @returns Rune information or undefined if not found
|
|
270
|
-
*/
|
|
271
|
-
getRuneInfo(runeId: string): Promise<RuneInfo | undefined>;
|
|
272
259
|
/**
|
|
273
260
|
* Get total Bitcoin balance from all UTXOs
|
|
274
261
|
* @returns Total balance in satoshis
|
|
@@ -352,18 +339,18 @@ export declare class Transaction {
|
|
|
352
339
|
* Add a UTXO as transaction input
|
|
353
340
|
* @param utxo - The UTXO to add as input
|
|
354
341
|
*/
|
|
355
|
-
|
|
342
|
+
addInput(utxo: Utxo): void;
|
|
356
343
|
/**
|
|
357
344
|
* Add a standard output to the transaction
|
|
358
345
|
* @param address - Recipient address
|
|
359
346
|
* @param amount - Amount in satoshis
|
|
360
347
|
*/
|
|
361
|
-
|
|
348
|
+
addOutput(address: string, amount: bigint): void;
|
|
362
349
|
/**
|
|
363
350
|
* Add an OP_RETURN script output (for Runestone)
|
|
364
351
|
* @param script - The script buffer to include
|
|
365
352
|
*/
|
|
366
|
-
|
|
353
|
+
addScriptOutput(script: Uint8Array): void;
|
|
367
354
|
/**
|
|
368
355
|
* Select UTXOs containing specific runes for the transaction
|
|
369
356
|
* @param runeUtxos - Available rune UTXOs
|