Skip to content

Request access

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

Concepts

Fees and tariffs

You pay per successful sweep: its gas plus a fee, both in the chain’s native coin, from your gas wallet. There is no subscription. Your exact rates are in your tariff, GET /v1/tariff.

For a token, you pay the larger of two amounts: the gas of the sweep, or X of what the same sweep would cost as a conventional sweep. The fee is the difference:

fee = max(0, X × conventional cost of the token − gas of the sweep)

  • X is your rate on the chain. For the base tokens, USDT and USDC as Portuna lists them, it is rate_bps in the tariff: the standard is 70% (7000), and BSC has no service fee on them: there X is 0 and you pay only the gas. For the tokens you add yourself X is 80% by default on every chain, BSC included: custom_tokens in the tariff. Portuna may agree another rate with you, for all your tokens on a chain or for one of them, possibly until a date.
  • The conventional cost is the gas the same sweep takes as a conventional sweep: send the deposit address gas (21,000), then transfer the token’s whole balance from it, plus creating the address’s account for an address that has none. It is always these two steps, however much native coin the address already holds, see Native coin already on the address. Every token has its own; it depends on the chain, the token and the kind of sweep. The base tokens’ conventional costs are measured by Portuna on each chain. A token you add has its transfer measured when you add it, and until it is measured, the network’s floor applies. See What your tokens cost.
  • The gas of the sweep is its share of the batch transaction (below).
  • Everything is counted in gas and multiplied by the batch’s gas price, so no exchange rate is involved.
  • A sweep is priced with the rate and the conventional cost in force when its batch is prepared: a change applies to the batches prepared after it, and a sweep records what it was priced with.

If our gas is below X of the conventional cost, you pay exactly X of the conventional cost. If it is not, you pay only the gas, with no fee. The fee never makes a sweep cost more than a conventional sweep.

A conventional sweep needs no top-up to move ETH or BNB: the deposit address pays the gas with the coin itself, and a plain transfer takes 21,000 gas. So a native coin sweep costs its gas plus a markup M, native_markup_bps, and never more than that plain transfer:

fee = min(M × gas, max(0, 21000 − gas))

A batch is one transaction, and the chain does not report the gas of each address in it. The batch gas is shared out like this:

  • the first sweep of an address carries the cost of setting its delegate, by the table in extra_gas of the tariff;
  • the rest is split by what each address is expected to take: its token’s sweep gas, the token’s own state that the batch pays once and its addresses of that token share, and an equal share of the batch’s overhead. A sweep of a light token does not pay for a heavy one’s, and addresses of the same token pay the same;
  • gas that a failed sweep of one of your own tokens burned beyond that is its own, up to the 300,000 gas one address may take: the token you chose pays for its failure, not the sweeps beside it.

The shares add up to the gas of the transaction. A sweep that failed on chain bears its share but no fee; a sweep rejected before sending bears nothing. Revocations cost only their gas, with no fee.

Sepolia, X = 70%. A batch of 50 addresses: 10 first sweeps of addresses that held only tokens (first_new) and 40 repeat sweeps.

Gas of the sweepConventional cost70% of itFeeYou pay
first_new243,687237,233166,0630243,687
repeat18,07853,63337,54319,46537,543

For the whole batch you pay 3,938,590 gas against 4,517,650 with conventional sweeps, 13% less. Each repeat sweep costs 30% less than a conventional sweep.

Each swept sweep in GET /v1/sweeps/{id} carries what its fee was computed with; of these, its item in transaction.mined has only fee:

FieldMeaning
kindrepeat, first or first_new
gasthe sweep’s share of the batch gas
conventional_gasthe token’s conventional cost for this kind of sweep, the gas of a conventional sweep, as it was when the batch was prepared
rate_bpsthe rate: X, or M for the native coin (7000 = 70%)
tariff_sourcewhere the rate came from: base, custom_default or negotiated
baseline_versionfor a token you added, the version of its conventional cost
gas_cost, feegas and fee in wei

The gas price is that of the transaction tx_hash. For a token:

fee = max(0, rate_bps × conventional_gas / 10000 − gas) × gas price

and for the native coin:

fee = min(rate_bps × gas / 10000, max(0, conventional_gas − gas)) × gas price

Fees accrue on your gas wallet as fees_due in GET /v1/balance, and are withdrawn from it periodically. Until then they stay in reserve and are not spent on gas: available is the balance minus fees_due, what is left for gas. If the gas wallet holds little beyond the fees due, sweeps wait for a top-up.

What you topped up is yours: the available balance can go back to you at any time. The console shows it on the Gas wallet page as Available to withdraw, next to Fees to be charged, the reserve that stays on the wallet.

  • Who: only your organization’s owner, with two-factor authentication on and a fresh code of the authenticator app for each withdrawal. API keys cannot withdraw: GET /v1/payouts only lists the payouts.
  • Where to: one of your own hot wallets on the same chain, the ones your delegates sweep to, chosen from a list. For your safety, a new hot wallet can receive withdrawals only a while after its delegate is deployed (three days on mainnet), and your owners and admins get an email saying from when: if the hot wallet is not yours, contact support at once. The dialog says from when too. Portuna‘s signing service checks this itself, apart from the rest of the service, so no other address can be paid.
  • How much: any amount of the available balance, with no limit: at most the available balance, less what a transaction of the gas wallet in flight may still take, less the withdrawal’s own network fee, reserved at twice the current fee cap so that a stuck withdrawal can be repriced; what the fee does not use stays available. All available sends that most as of your request, never more. The fees to be charged are never withdrawn.
  • When: the withdrawal goes before the next sweeps of the gas wallet and is checked again when it is sent. One at a time per chain: the next once the last has ended. If queued sweeps would be left with too little gas, the dialog warns you; you can still withdraw, and those sweeps wait for a top-up.
  • What you see: a payout entry in the ledger (its network fee is a gas entry of the same transaction), the withdrawal in GET /v1/payouts and on the Gas wallet page, a balance.payout event when it is sent, paid or failed, and an email to your owners and admins when it is asked for and when it ends.

A withdrawal that fails (for example, fees or gas came off the balance between the request and the sending) leaves everything on the gas wallet: ask again. A disabled account can still withdraw its available balance.

GET /v1/tariff shows, for each chain:

  • rate_bps and rate: X for the base tokens;
  • native_markup_bps and native_markup: M for the native coin;
  • custom_tokens: X for the tokens you add yourself, with where it comes from (custom_default or negotiated), since when and until when;
  • conventional_gas: the conventional cost of the native coin and of each base token, new for an address without an account on the chain and existing for one with an account;
  • floor: the conventional cost of a token of your own that is not measured yet;
  • extra_gas: what a first sweep adds, for the delegation and for creating the account;
  • tokens: each of your tokens on the chain, base and your own, with its rate (tariff) and its conventional cost (baseline), as in GET /v1/tokens.

Conventional costs are measured per chain and revised when a hard fork changes gas costs. The conventional cost of a token you add is frozen and versioned: a new version that is lower applies at once, one higher by more than 5% applies 7 days after a tariff.changed webhook event tells you, and baseline.next shows it until then. A rate agreed with you, set, taken back or run out, comes as tariff.changed too, and one with an end also 7 days before it runs out (expiring), with the rate that applies then; next_rate_bps in its tariff shows that rate all along. The rates of your account are agreed with us; the testnets charge them in test coins.

What your sweeps of a month came to against conventional sweeps, gas, fees and savings per chain and token, is in the monthly report.