@omnity/ree-client-ts-sdk 0.6.2 → 0.6.4

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 CHANGED
@@ -53,9 +53,6 @@ const btcBalance = await client.getBtcBalance("bc1q..."); // payment address
53
53
 
54
54
  const runeBalance = await client.getRuneBalance("bc1q...", "RUNE_ID"); // address, runeId
55
55
 
56
- // Search for runes
57
- const runes = await client.searchRunes("DOG");
58
-
59
56
  // Get pool information
60
57
  const pools = await client.getPoolList();
61
58
  const poolInfo = await client.getPoolInfo("pool-address");
@@ -369,11 +366,6 @@ new ReeClient(config: Config)
369
366
  - `getRuneBalance(address: string, runeId: string): Promise<number | undefined>` - Get balance for a specific rune
370
367
  - `getRuneUtxos(address: string, runeId: string): Promise<Utxo[]>` - Get UTXOs containing a specific rune
371
368
 
372
- ##### Rune Information Methods
373
-
374
- - `searchRunes(keyword: string): Promise<RuneInfo[]>` - Search for runes by keyword or rune ID
375
- - `getRuneInfo(runeId: string): Promise<RuneInfo | undefined>` - Get detailed information for a specific rune
376
-
377
369
  ##### Pool Methods
378
370
 
379
371
  - `getPoolList(): Promise<Pool[]>` - Get list of all available liquidity pools
@@ -456,7 +448,6 @@ import {
456
448
  useRuneBalance,
457
449
  useBtcUtxos,
458
450
  useRuneUtxos,
459
- useSearchRunes,
460
451
  useRuneInfo,
461
452
  usePoolList,
462
453
  usePoolInfo,
@@ -477,18 +468,10 @@ function TradingDashboard() {
477
468
 
478
469
  const [runes, setRunes] = useState([]);
479
470
 
480
- // Rune search hooks
481
- const searchRunes = useSearchRunes();
482
- const { runeInfo } = useRuneInfo("840000:3");
483
-
484
471
  // Pool hooks
485
472
  const { pools } = usePoolList();
486
473
  const { poolInfo } = usePoolInfo("bc1q...");
487
474
 
488
- const handleSearch = () => {
489
- searchRunes("IRCH").then(setRunes); // Search for runes containing "RICH"
490
- };
491
-
492
475
  return (
493
476
  <div>
494
477
  <h2>Balances</h2>
@@ -501,10 +484,6 @@ function TradingDashboard() {
501
484
  : `${feeRate?.min?.toString()} - ${feeRate?.max?.toString()} sat/vB`}
502
485
  </div>
503
486
 
504
- <h2>Search Runes</h2>
505
- <button onClick={handleSearch}>Search DOG</button>
506
- <div>{runes.length} runes found</div>
507
-
508
487
  <h2>Pools</h2>
509
488
  <div>{pools.length} pools available</div>
510
489
  </div>
@@ -521,11 +500,6 @@ function TradingDashboard() {
521
500
  - `useBtcUtxos(options?)` - Bitcoin UTXOs management
522
501
  - `useRuneUtxos(runeId, options?)` - Rune UTXOs for specific rune
523
502
 
524
- **Rune Information Hooks:**
525
-
526
- - `useSearchRunes(keyword?, options?)` - Search runes by keyword
527
- - `useRuneInfo(runeId?, options?)` - Get rune information by ID
528
-
529
503
  **Pool Hooks:**
530
504
 
531
505
  - `usePoolList(options?)` - Get all available pools
@@ -544,9 +518,6 @@ const { runeInfo } = useRuneInfo("840000:3", { refreshInterval: 30000 });
544
518
  // Get pools with manual refresh only
545
519
  const { pools, refetch } = usePoolList({ autoRefresh: false });
546
520
 
547
- // Search runes
548
- const searchRuens = useSearchRunes();
549
- await searchRunes("RICH");
550
521
  ```
551
522
 
552
523
  ### Core useRee Hook