- Preparing search index...
- The search index is not available
Stacks.js
Function estimateTransactionFeeWithFallback
- estimateTransactionFeeWithFallback(transaction: StacksTransaction, network: StacksNetwork): Promise<bigint | number>
-
Returns Promise<bigint | number>
Estimates the fee using estimateTransfer as a fallback if estimateTransaction does not get an estimation due to the NoEstimateAvailableError error.