diff --git a/hedera/core-concepts/fee-model.mdx b/hedera/core-concepts/fee-model.mdx index 28194932..d413a6ce 100644 --- a/hedera/core-concepts/fee-model.mdx +++ b/hedera/core-concepts/fee-model.mdx @@ -373,5 +373,4 @@ If `free` is `true`, `baseFee` and `extras` are ignored during calculation but m The fee collection account model that Simple Fees depends on. - \ No newline at end of file diff --git a/hedera/sdks-and-apis/rest-api/network.mdx b/hedera/sdks-and-apis/rest-api/network.mdx index 3c50614c..566ca066 100644 --- a/hedera/sdks-and-apis/rest-api/network.mdx +++ b/hedera/sdks-and-apis/rest-api/network.mdx @@ -16,31 +16,9 @@ The following endpoints are available for the Network object: | --- | --- | | `GET /api/v1/network/supply` | Retrieves the current total supply of HBAR. | | `GET /api/v1/network/fees` | Fetches the latest transaction fee schedules. | -| `POST /api/v1/network/fees` | Estimates fees for a specific transaction before submission. [HIP-1261](https://hips.hedera.com/hip/hip-1261) | +| `POST /api/v1/network/fees` | Estimates node, network, and service fees for a protobuf-encoded transaction, including the [HIP-1313](https://hips.hedera.com/hip/hip-1313) `high_volume_multiplier`. | | `GET /api/v1/network/exchangerate` | Retrieves exchange rates to estimate transaction costs. | | `GET /api/v1/network/nodes` | Lists the network address book nodes. | | `GET /api/v1/network/stake` | Fetches staking-related information. | -### Estimate Transaction Fees (POST) - -`POST /api/v1/network/fees` - -Introduced in [HIP-1261 (Simple Fees)](https://hips.hedera.com/hip/hip-1261), this endpoint estimates the node, network, and service fees for a transaction before it is submitted to the network. It accepts a serialized `Transaction` protobuf in the request body (`application/protobuf` or `application/x-protobuf` Content-Type) and returns a detailed fee breakdown in tinycents. - -Two estimation modes are available via the `mode` query parameter: - -| Mode | Behavior | -| --- | --- | -| `intrinsic` (default) | Estimates based on the transaction's inherent properties (size, signatures, keys). | -| `state` | Also considers the mirror node's latest known state (e.g., account existence, token associations). | - - - For `state` mode, if the required network state is unavailable (e.g., due to data pruning), the endpoint falls back to `intrinsic` mode and includes a note in the response explaining the fallback. - - - - This endpoint currently returns stubbed (dummy) data as of mirror node `v0.145.1`. The full fee estimation implementation using the upstream fee estimation library will ship in a future release. You can integrate against the stub now to be ready when the production implementation goes live. - - -For full request/response details, parameters, and the interactive API playground, see the [API reference page](/api-reference/network/estimate-network-fees). For an overview of the Simple Fees model, see [Fee Model](/hedera/core-concepts/fee-model). -
EndpointDescription
GET /api/v1/network/supplyRetrieves the current total supply of HBAR.
GET /api/v1/network/feesFetches the latest transaction fee schedules.
POST /api/v1/network/feesEstimates fees for a specific protobuf-encoded transaction, including the [HIP-1313](https://hips.hedera.com/hip/hip-1313) high_volume_multiplier.
GET /api/v1/network/exchangerateRetrieves exchange rates to estimate transaction costs.
GET /api/v1/network/nodesLists the network address book nodes.
GET /api/v1/network/stakeFetches staking-related information.
+For full request/response details, parameters, and interactive API playgrounds for each endpoint, see the API reference pages in the sidebar. For an overview of the Simple Fees model, see [Fee Model](/hedera/core-concepts/fee-model). diff --git a/openapi.yaml b/openapi.yaml index ee538dba..7671b54d 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -941,8 +941,6 @@ paths: schema: format: binary type: string - description: A protobuf encoded HAPI Transaction - required: true responses: 200: description: OK