Hedera · Example Payload

Estimatefees

Given a HAPI transaction, estimate the network fees in tinycents.

network

Estimatefees is an example object payload from Hedera, with 8 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummarydescriptiontagsparametersresponses

Example Payload

Raw ↑
{
  "operationId": "estimateFees",
  "method": "POST",
  "path": "/api/v1/network/fees",
  "summary": "Estimate network fees",
  "description": "Given a HAPI transaction, estimate the network fees in tinycents.",
  "tags": [
    "network"
  ],
  "parameters": [
    {
      "name": "mode",
      "in": "query",
      "description": "Estimate solely based on the transaction's inherent properties or use network state.",
      "required": false
    },
    {
      "name": "high_volume_throttle",
      "in": "query",
      "description": "The high-volume throttle utilization in basis points where 10000 equals 100%. A value of 0, the default, indicates no high-volume pricing.",
      "required": false
    }
  ],
  "responses": {
    "200": "OK",
    "400": "Invalid parameter",
    "500": "Service Unavailable"
  }
}