@omnity/ree-client-ts-sdk 0.3.7 → 0.3.9
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/dist/index.d.ts +17 -0
- package/dist/ree-sdk.cjs.js +45 -45
- package/dist/ree-sdk.es.js +1430 -1373
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -71,6 +71,7 @@ export declare type InputCoin = {
|
|
|
71
71
|
};
|
|
72
72
|
|
|
73
73
|
export declare type Intention = {
|
|
74
|
+
exchangeId?: string;
|
|
74
75
|
inputCoins: InputCoin[];
|
|
75
76
|
outputCoins: OutputCoin[];
|
|
76
77
|
action: string;
|
|
@@ -221,6 +222,22 @@ export declare class ReeClient {
|
|
|
221
222
|
* @returns Filtered array of UTXOs excluding spent/used ones
|
|
222
223
|
*/
|
|
223
224
|
private filterSpentUtxos;
|
|
225
|
+
/**
|
|
226
|
+
* Get pending (zero-confirmation) Bitcoin UTXOs for a payment address
|
|
227
|
+
* These are UTXOs from Ree protocol transactions that have been broadcast but not yet confirmed
|
|
228
|
+
* Filters out UTXOs that contain runes to get pure Bitcoin UTXOs only
|
|
229
|
+
* @param paymentAddress - The Bitcoin payment address to check for pending UTXOs
|
|
230
|
+
* @returns Array of pending Bitcoin UTXOs without runes from Ree transactions
|
|
231
|
+
*/
|
|
232
|
+
private getPendingBtcUtxos;
|
|
233
|
+
/**
|
|
234
|
+
* Get pending (zero-confirmation) Rune UTXOs for an ordinals address
|
|
235
|
+
* These are UTXOs from Ree protocol transactions that have been broadcast but not yet confirmed
|
|
236
|
+
* Filters to include only UTXOs that contain runes
|
|
237
|
+
* @param address - The ordinals address to check for pending rune UTXOs
|
|
238
|
+
* @returns Array of pending UTXOs containing runes from Ree transactions
|
|
239
|
+
*/
|
|
240
|
+
private getPendingRuneUtxos;
|
|
224
241
|
/**
|
|
225
242
|
* Get all Bitcoin UTXOs for the payment address
|
|
226
243
|
* Handles pagination automatically to fetch all available UTXOs
|