@@ -3367,10 +3367,12 @@ paths:
33673367 endpoint with an estimation of the final length (in bytes)
33683368 of the transaction, including any post-conditions and
33693369 signatures
3370+
33703371 If the node cannot provide an estimate for the transaction
33713372 (e.g., if the node has never seen a contract-call for the
33723373 given contract and function) or if estimation is not
33733374 configured on this node, a 400 response is returned.
3375+
33743376 The 400 response will be a JSON error containing a `reason`
33753377 field which can be one of the following:
33763378 * `DatabaseError` - this Stacks node has had an internal
@@ -3382,6 +3384,7 @@ paths:
33823384 * `CostEstimationDisabled` - this Stacks node does not perform
33833385 fee or cost estimation, and it cannot respond on this
33843386 endpoint.
3387+
33853388 The 200 response contains the following data:
33863389 * `estimated_cost` - the estimated multi-dimensional cost of
33873390 executing the Clarity VM on the provided transaction.
@@ -3410,6 +3413,7 @@ paths:
34103413 If the estimated fees are less than the minimum relay
34113414 fee `(1 ustx x estimated_len)`, then that minimum relay
34123415 fee will be returned here instead.
3416+
34133417 Note: If the final transaction's byte size is larger than
34143418 supplied to `estimated_len`, then applications should increase
34153419 this fee amount by:
0 commit comments