You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `provider` option is used to specify the network provider to use when sending the transaction.
39
+
40
+
#### maximumFeeSatoshis
41
+
42
+
The `maximumFeeSatoshis` option is used to specify the maximum fee for the transaction in satoshis. If this fee is exceeded, an error will be thrown when building the transaction.
43
+
44
+
#### maximumFeeSatsPerByte
45
+
46
+
The `maximumFeeSatsPerByte` option is used to specify the maximum fee per byte for the transaction. If this fee is exceeded, an error will be thrown when building the transaction.
47
+
33
48
## Transaction Building
34
49
35
50
### addInput()
@@ -159,18 +174,6 @@ Sets the locktime for the transaction to set a transaction-level absolute timelo
transactionBuilder.setMaxFee(maxFee: bigint): this
165
-
```
166
-
167
-
Sets a max fee for the transaction. Because the transaction builder does not automatically add a change output, you can set a max fee as a safety measure to make sure you don't accidentally pay too much in fees. If the transaction fee exceeds the max fee, an error will be thrown when building the transaction.
0 commit comments