Estimate network fees
Changed onGiven a HAPI transaction, estimate the network fees in tinycents.
Request
- Base URL(relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v1/network/fees
- Authnone declared
Query parameters
Estimate solely based on the transaction's inherent properties or use network state.
The high-volume throttle utilization in basis points where 10000 equals 100%. A value of 0, the default, indicates no high-volume pricing.
Request body application/protobuf
Response
OK
Example response
{
"high_volume_multiplier": 100,
"network": {
"multiplier": 2,
"subtotal": 1200
},
"node": {
"base": 1000,
"extras": [
{
"charged": 1,
"count": 2,
"fee_per_unit": 100,
"included": 1,
"name": "Signatures",
"subtotal": 100
}
]
},
"service": {
"base": 1000,
"extras": [
{
"charged": 1,
"count": 2,
"fee_per_unit": 100,
"included": 1,
"name": "Signatures",
"subtotal": 100
}
]
},
"total": 1000
}Changes
- info
added the new optional
queryrequest parameterhigh_volume_throttle - info
added the required property
to the response with the status
- info
- breaking
the
///////response's property format changed fromint32toint64for status - breaking
the
///////response's property format changed fromint32toint64for status - breaking
the
///////response's property format changed fromint32toint64for status - breaking
the
///////response's property format changed fromint32toint64for status - breaking
the
///////response's property format changed fromint32toint64for status - breaking
the
///////response's property format changed fromint32toint64for status - breaking
removed the required property
from the response with the status
- breaking