Skip to content

Request access

Tell us about your processing, and we'll reply by email.

Guides

Monthly report

The monthly report shows, for one UTC month, per chain and token, three things side by side:

  • conventional cost: what your sweeps would have cost as conventional sweeps – top up the deposit address with gas, then transfer from it;
  • actual: what they cost you with Portuna Sweep – their share of the batch gas, which your gas wallet paid, and our fees;
  • savings: the difference, and the share of the conventional cost you actually paid.

It is in the console, Monthly report, with a month picker and a CSV download, and in the API: GET /v1/reports/monthly.

  • Each sweep counts as it was priced. When a batch is prepared, each sweep in it records its kind (repeat, first, first with a new account), the conventional cost of that kind and its version, and your rate. The report sums exactly that, so a rate or a conventional cost changed later never changes a past month.
  • In the month its batch settled, when its fee reached the ledger of your gas wallet: the report’s fees for a month are the fee entries of that month.
  • In the native coin of the chain, each sweep at its batch’s gas price, and in gas. The conventional cost of a sweep in the native coin is its conventional_gas times the gas price of its batch: what a conventional sweep would have paid at that moment.
  • Swept sweeps only. Sweeps that failed in a mined batch are counted apart, with the gas they took; they pay no fee. Sweeps rejected before sending cost nothing and are not in the report.

For each token the report gives:

FieldWhat
sweepsswept sweeps: total, and by kind repeat, first, first_new
baselinesthe conventional cost by version: several versions when a token you added was measured again during the month; version is null for a base token
conventional_gas, conventional_costthe conventional cost, in gas and in wei
gas, gas_costthe sweeps’ share of the batch gas, in gas and in wei
fee_gas, feeour fees, in gas and in wei
savings_gas, savingsthe conventional cost − gas − fee, in gas and in wei; below zero if the sweeps cost more
paid_bps(gas_cost + fee) of conventional_cost, in basis points
failed, failed_gas, failed_gas_costsweeps that failed in a mined batch, and their gas

Where the fee is above zero, you pay exactly your rate of the conventional cost, so paid_bps equals your rate; it is lower when the gas of a sweep alone is above your rate of the conventional cost, as for a first sweep in a small batch.

Terminal window
curl -H "Authorization: Bearer $PORTUNA_API_KEY" "https://api-testnet.portuna.io/v1/reports/monthly?month=2026-10"

month is YYYY-MM, the current UTC month by default; a month after the current one is refused with 400 invalid_query. The SDKs have MonthlyReport(ctx, "2026-10") in Go and monthlyReport('2026-10') in TypeScript. The full response: MonthlyReport.

The console’s Download CSV gives one row per chain and token, with the month, the chain and the token, and every field above as whole numbers in gas and wei, as the API gives them, so that nothing is rounded: conventional_cost_wei, gas_cost_wei, fee_wei, savings_wei and so on. baseline_versions lists version:sweeps, base for a base token’s conventional cost.