@@ -3367,10 +3367,12 @@ paths:
3367
3367
endpoint with an estimation of the final length (in bytes)
3368
3368
of the transaction, including any post-conditions and
3369
3369
signatures
3370
+
3370
3371
If the node cannot provide an estimate for the transaction
3371
3372
(e.g., if the node has never seen a contract-call for the
3372
3373
given contract and function) or if estimation is not
3373
3374
configured on this node, a 400 response is returned.
3375
+
3374
3376
The 400 response will be a JSON error containing a `reason`
3375
3377
field which can be one of the following:
3376
3378
* `DatabaseError` - this Stacks node has had an internal
@@ -3382,6 +3384,7 @@ paths:
3382
3384
* `CostEstimationDisabled` - this Stacks node does not perform
3383
3385
fee or cost estimation, and it cannot respond on this
3384
3386
endpoint.
3387
+
3385
3388
The 200 response contains the following data:
3386
3389
* `estimated_cost` - the estimated multi-dimensional cost of
3387
3390
executing the Clarity VM on the provided transaction.
@@ -3410,6 +3413,7 @@ paths:
3410
3413
If the estimated fees are less than the minimum relay
3411
3414
fee `(1 ustx x estimated_len)`, then that minimum relay
3412
3415
fee will be returned here instead.
3416
+
3413
3417
Note: If the final transaction's byte size is larger than
3414
3418
supplied to `estimated_len`, then applications should increase
3415
3419
this fee amount by:
0 commit comments