---
title: "TIP-1010 Mainnet Fee & Payment-Lane Capacity Calculator"
method: POST
path: "/v1/tools/compute_tempo_mainnet_fee_capacity"
tags: ["TODO_TAGS_REVIEW", "TODO_AP2_EXPORT_REVIEW"]
---

# TIP-1010 Mainnet Fee & Payment-Lane Capacity Calculator

`POST /v1/tools/compute_tempo_mainnet_fee_capacity`

## Request

- Base URL: `https://ainumbers.co`
- URL: `https://ainumbers.co/v1/tools/compute_tempo_mainnet_fee_capacity`
- Auth: none declared

Per-tx fee (fee_microusd = ceil(base_fee_attodollars_per_gas x gas_used / 1e12)) and payment-lane TPS headroom for a supplied payment mix, against the published TIP-1010 mainnet constants (base fee 2e10 attodollars/gas, 500M gas/block, ~94% payment-lane reservation). Successor to model_tempo_gas_economics (art-107), which predates these constants. Every parameter is declared with its TIP-1010 citation and carried as protocol_version so a base-fee governance change is a data re-pin, never a code change. Does not read /docs/api/rpc (outside Tempo's stable API contract). Fixed-point BigInt math, calculator only, zero egress.

**Tool URL:** https://ainumbers.co/chaingraph/art-389-tempo-mainnet-fee-capacity.html

## Request body

- object
  - `block_time_seconds` number, required
  - `payment_mix` unknown[], required
    - unknown
  - `protocol_parameters` unknown, required

## Response `200`

Successful tool execution result

- object
  - `block_time_seconds` integer
  - `line_items` object[]
    - `count` string
    - `fee_microusd_per_tx` string
    - `gas_used` string
    - `label` string
    - `max_tx_per_block_payment_lane` string
    - `total_fee_microusd` string
    - `tps_headroom` integer
  - `note` string
  - `protocol_parameters_used` object
    - `base_fee_attodollars_per_gas` string
    - `block_gas_limit` string
    - `general_lane_gas_limit` string
    - `payment_lane_gas_limit` string
  - `protocol_version` string
  - `summary` object
    - `line_item_count` integer
    - `total_fee_microusd` string
    - `total_gas_used` string

---

[API](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite.md) · [All operations](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite/llms.txt) · [OpenAPI document](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite/revisions/b462e4f5bb28?raw)
