@btc-vision/transaction 1.0.78 → 1.0.80

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.
@@ -3,6 +3,7 @@ import { Address } from '@btc-vision/bsi-binary';
3
3
  import { WrappedGeneration } from '../../wbtc/WrappedGenerationParameters.js';
4
4
  import { ITweakedTransactionData } from '../shared/TweakedTransaction.js';
5
5
  import { VaultUTXOs } from '../processor/PsbtTransaction.js';
6
+ import { ChainId } from '../../network/ChainId.js';
6
7
 
7
8
  export interface ITransactionParameters extends ITweakedTransactionData {
8
9
  readonly from?: Address;
@@ -12,6 +13,8 @@ export interface ITransactionParameters extends ITweakedTransactionData {
12
13
  nonWitnessUtxo?: Buffer | undefined;
13
14
  estimatedFees?: bigint;
14
15
 
16
+ chainId?: ChainId;
17
+
15
18
  readonly feeRate: number;
16
19
  readonly priorityFee: bigint;
17
20
  }
@@ -34,7 +37,7 @@ export interface IInteractionParameters extends SharedInteractionParameters {
34
37
  }
35
38
 
36
39
  export interface IWrapParameters extends SharedInteractionParameters {
37
- readonly to?: undefined | Address;
40
+ readonly to?: Address;
38
41
 
39
42
  readonly from: Address;
40
43
  readonly amount: bigint;