Resources
Changelog
Changes that matter to your integration, newest first. New fields and event types may appear over time: accept the ones you do not know.
October 2026
Section titled “October 2026”-
Sweep lists (October 25): the new
POST /v1/sweep-listssends up to the chain’s batch size of sweeps in one transaction of their own, and when your gas wallet is free, the response carries the transaction and its hash.wait, 0 to 55 seconds, 10 by default, is how long the request may wait for it: set your HTTP client’s timeout to 60 seconds. Every item needs anexternal_id: the same set on the same chain is a repeat and gets200with the list, and ids of other sweeps get409 external_id_conflict.GET /v1/sweep-lists/{id}gives a list as it is now. See Sweep lists.- New fields:
list_idof a sweep, and of a transaction, in the API and in the transaction events,nullfor a batch of single sweeps.GET /v1/sweepsandGET /v1/transactionsfilter bylist_id. - New codes:
invalid_items,invalid_items_count,invalid_wait,duplicate_external_id,external_id_conflict,gas_limit_exceededandtoo_many_lists. On a chain where lists are not available, the request gets404 not_found. - SDKs:
CreateSweepList,SweepList,SweepFilter.ListIDandTransactionFilter.ListIDin Go;createSweepList,sweepListand thelist_idfilters in TypeScript. With a429or a503, the API error carries how longRetry-Afterasks to wait:Error.RetryAfterin Go,ApiError.retryAfter, in seconds, in TypeScript.
- New fields:
-
Breaking: webhooks per transaction (October 25): the outcomes of sweeps and revocations that ride a transaction now come in one event per transaction, with every sweep it carries, instead of one event per sweep. There is no transition period: only the new events are sent, and your receiver needs to handle them. Around the update, for a few minutes, the previous version of the service may still send a
sweep.sweptorrevocation.revokedfor a transaction it settled: each is a final outcome, and no transaction event repeats it. See Webhooks.- New events:
transaction.sent, for every version sent, the first and each replacement at a higher gas price, withversionandreplaces;transaction.mined, once mined and confirmed, each itemsweptorfailed;transaction.revertedandtransaction.dropped, each itemqueued, to ride a new transaction, orfailed.dataholds the transaction and its items as they were at the event; a transaction of more than 200 items comes in parts of 200,partofparts. Revocations come in the same events, withkindrevocation. - Removed:
sweep.swept,revocation.revokedandwebhook.test.sweep.rejected,sweep.failed,revocation.rejectedandrevocation.failednow come only for those no transaction carried; a sweep that fails inside a transaction is afaileditem of its event.POST /v1/webhook/testsends a sampletransaction.minedwithtest: truein itsdata. - New fields:
batch_index,log_indexandtransfer_log_indexof a sweep,batch_indexof a revocation andblock_numberof a transaction, in the API and in the events. The log indexes and the block are not there for what was settled before October 26, 2026. A dropped transaction’sfeesisnull. - Your receiver: apply each item once, never let a later
processingorqueuedreplace a final status, and accept bodies of up to 256 KiB. - SDKs: in Go,
EventTransactionSent,EventTransactionMined,EventTransactionReverted,EventTransactionDropped,Event.Transaction()withSweeps()andRevocations(), andFinalStatus;EventSweepSwept,EventRevocationRevoked,EventWebhookTestandWebhookTestare gone. In TypeScript, the transaction events inEvent, with the typesTransactionEvent,SweepItemandRevocationItem, andsweepItems,revocationItemsandisFinalStatus;WebhookTestis gone.
- New events:
-
Transactions and search (October 24): the new
GET /v1/transactionslists your gas wallet’s transactions that carry sweeps or revocations, one per batch: its status (pending,mined,reverted,dropped), hash, hot wallets, how its sweeps fared, its gas and fees;GET /v1/transactions/{id}gives one. A sweep and a revocation show thetransaction_idandbatch_sizeof the transaction they ride, andGET /v1/sweepsandGET /v1/revocationsfind them byexternal_id, bytx_hash, any hash their transaction had, and bytransaction_id. SDKs:Transactions,AllTransactions,Transactionand the new filter fields in Go;transactions,allTransactions,transactionin TypeScript. See Reconcile with your books. -
Breaking: the last
classicandbenchmarknames are renamed (October 20): the API, the webhooks, the console’s CSV and the SDKs now name the conventional sweep and its cost as the docs do:conventional_*for the gas and the cost of a conventional sweep, andbaselinefor a token’s measured conventional cost, the record with its version and how it was measured. Nothing else changed: the values, the formulas and the fees are the same. There is no transition period, and the former names are not sent alongside the new ones: rename them where your code reads them, or update the SDK to 0.2.0 and rename its identifiers as below.tariff.changedevents recorded before the change are delivered with the new names too.Where Before Now Sweep: GET /v1/sweeps,POST /v1/sweeps,sweep.*eventsclassic_gas,benchmark_versionconventional_gas,baseline_versionToken: GET /v1/tokens,POST /v1/tokens,token.refused; token card:POST /v1/tokens/check;GET /v1/tarifftokens[]benchmarkbaselinebaseline,baseline.next;GET /v1/tariff: the chain and itsfloorclassic_gasconventional_gasToken tariff ruleclassic_shareconventional_shareToken warning codebenchmark_reviewbaseline_reviewtariff.changed:reasonbenchmarkbaselinetariff.changedold_classic_gas,new_classic_gasold_conventional_gas,new_conventional_gasGET /v1/reports/monthly: an itembenchmarks,classic_gas,classic_costbaselines,conventional_gas,conventional_costGET /v1/reports/monthly: an item’sbaselines[]classic_gas,classic_costconventional_gas,conventional_costConsole: CSV of the monthly report benchmark_versions,classic_gas,classic_cost_weibaseline_versions,conventional_gas,conventional_cost_weiOpenAPI schemas Benchmark,ClassicGasBaseline,ConventionalGasGo SDK: types Benchmark,BenchmarkFloor,BenchmarkNext,ClassicGas,ReportBenchmarkBaseline,BaselineFloor,BaselineNext,ConventionalGas,ReportBaselineGo SDK: fields ClassicGas,ClassicCost,BenchmarkVersion,Benchmark,Benchmarks,OldClassicGas,NewClassicGasConventionalGas,ConventionalCost,BaselineVersion,Baseline,Baselines,OldConventionalGas,NewConventionalGasGo SDK: constants RuleClassicShare,TariffChangeBenchmark,WarningBenchmarkReview,BenchmarkMeasured,BenchmarkProvisional,BenchmarkReviewRuleConventionalShare,TariffChangeBaseline,WarningBaselineReview,BaselineMeasured,BaselineProvisional,BaselineReviewTypeScript SDK: types Benchmark,BenchmarkMethod,BenchmarkStatus,ClassicGas,ReportBenchmarkBaseline,BaselineMethod,BaselineStatus,ConventionalGas,ReportBaselineTypeScript SDK: fields and values as in the API above: classic_gas,benchmark,'classic_share', …conventional_gas,baseline,'conventional_share', … -
New contract addresses on the testnets (October 20): the contracts are now built without a metadata hash, so their comments no longer affect the bytecode. The code that runs is the same, but the factory moves to
0xF476A8Fa47629C43704F9399B1De83709f315BC1, and with it every batcher and delegate. Your delegates move to their new addresses on their own; a deposit address delegated to a former delegate needs a new authorization for the new one, or its sweep getswrong_delegate. Take delegate addresses fromGET /v1/hot-walletsandGET /v1/delegates, and update the SDK:verify-delegatechecks against the bytecode built into it. See Verifying the delegate. -
Test USDT from the console (October 19): on the test environment, Tokens → Test USDT mints the testnets’ test USDT to any address you name, e.g. your test deposit addresses, on Sepolia or BSC testnet: Portuna pays the gas, so you need no ETH for it. Up to 10,000 USDT a request and what the address may still receive in the hour, and up to 50,000 USDT in 5 requests a day (UTC) per organization; developers, admins and owners may ask. Minting the token yourself with
mint(address,uint256)works as before. See the Quickstart. -
A batch needs a little more on the gas wallet (October 15): before it is sent, a batch now checks that the gas wallet keeps, beside the fees to be charged, the most the fees of its own sweeps add once it is mined, at the batch’s fee cap, on top of the batch’s gas at that fee cap. So the fees to be charged never exceed the balance. A gas wallet that runs low sees its sweeps retried with
insufficient_gas_balancea little sooner than before: keep the usual reserve and thelow_balancealert on. See Fees. -
Withdraw the available balance (October 15): your organization’s owner can send the gas wallet’s available balance, the balance less the fees to be charged, back to one of your hot wallets on the same chain, from the console’s Gas wallet page with a fresh code of the authenticator app, any amount, with no limits. The new
GET /v1/payoutslists the payouts, the ledger has the new kindpayout, and the new eventbalance.payouttells when one is sent, paid or failed. A new hot wallet receives withdrawals a while after its delegate is deployed. SDKs:Payouts,AllPayoutsandEvent.Payoutin Go,payoutsandallPayoutsin TypeScript. See Fees. -
A new test USDT on the testnets (October 14):
0x3809a97a7a25C8bA577027c0AE2D81a09cdA1a2f, on Sepolia and BSC testnet alike, replaces0x5B74…e39C. It is a plain ERC-20 like USDT, with 6 decimals andTransferevents, so sweeps on the testnets are confirmed by the token’s events, as on mainnet. Anyone may mint it, up to 10,000 USDT per address an hour:mint(address,uint256). Requests that name the token"USDT"need no change; mint the new token to your test deposit addresses. Sweeps of the former token stay in your history; its balances can no longer be swept. See Environments. -
Monthly report and the notice of an agreed rate’s end (October 14):
GET /v1/reports/monthly?month=YYYY-MMgives the conventional cost, the actual cost and the savings of a UTC month per chain and token: the swept sweeps by kind, the conventional cost by version, the gas, the fees, the savings and the share of the conventional cost you paid, each sweep as it was priced; failed sweeps apart. The console has it as Monthly report, with a CSV download. See Monthly report. You are now notified 7 days before an agreed rate with an end runs out:tariff.changedwith the new reasonexpiring,effective_atat the end and the rate that applies then; the token’stariffhas the newnext_rate_bps, the rate aftervalid_until. SDKs:MonthlyReportandTariffChangeExpiringin Go,monthlyReportin TypeScript,next_rate_bpsin both. -
Tokens without a catalog, and the tariff of your own tokens (October 14): the base tokens of a chain are its native coin and the tokens Portuna lists, on for every account; you can turn any of them off, the native coin included (
DELETE /v1/tokens/{chain_id}/native,POST /v1/tokenswith"address": "native"). Any other ERC-20 you add by its contract address, on the testnets and on mainnet, in two steps: the newPOST /v1/tokens/checkchecks the token, running your sweep’s own path in a simulation, and returns its card, with what market data providers know of it on mainnet, warnings, the tariff and the conventional cost; thenPOST /v1/tokenswith the newconfirm: trueadds it. All of it: Tokens.GET /v1/tokenslists the native coin too, as"token": "native"withoutaddress. A token’ssourceispresetinstead ofregistry; its new fields aretoken(how a sweep identifies it),blocked,provider,check,warnings,tariffandbenchmark. A token whose transfer costs more than 80,000 gas is priced at 80,000 until Portuna has reviewed its conventional cost.- New error codes:
confirmation_required,balance_not_stored,no_transfer_event,transfer_fails,sweep_incompatible,409 token_needs_supportand503 token_check_unavailable; errors may carrydetails(cause,category,public_note).POST /v1/sweepsrefuses a token withtoken_disabled(turned off by you),token_refused,token_needs_supportortoken_blocked;token_disabledno longer covers refused and blocked tokens. Tokens the check finds unsweepable, twice on different blocks, are blocked for every account. Checks are bounded:429 rate_limited.tariff.changedhas the reasondefaulttoo. - The tariff of your own tokens: 80% of the token’s own conventional cost by default on every chain, BSC included, or
a rate agreed with Portuna; the conventional cost is measured when you add the token, frozen and versioned, and the
network’s floor applies until it is measured.
GET /v1/tariffhascustom_tokens,floorandtokens; a sweep hastariff_sourceandbenchmark_version. Failed sweeps of your own tokens pay their own gas, with no fee. The newtariff.changedwebhook event tells of an agreed rate set, taken back or run out, or of a changed conventional cost, a rise of more than 5% 7 days ahead. See Fees and tariffs. - SDKs:
CheckTokenandEnableToken(…, portuna.Confirmed())in Go, the zero address as the native coin;checkTokenandenableToken({ …, confirm: true })in TypeScript; the new types, error details and thetariff.changedevent in both.
-
Your own tokens (October 11): besides the tokens listed for a chain, which are on for every account and can now be turned off, you can enable any ERC-20 by its contract address, once it passes checks on chain.
GET /v1/tokens,POST /v1/tokensandDELETE /v1/tokens/{chain_id}/{address}, the Tokens page in the console,Tokens,EnableTokenandDisableTokenin the Go SDK andtokens,enableTokenanddisableTokenin the TypeScript SDK. A sweep identifies a token of your own by its address, and sweeps havetoken_symbol,token_decimalsandreported_amount. A token sweep’s amount is now what the token’sTransferevents to the hot wallet say: for a token that keeps a fee on transfers,swept_amountis what arrived, and a token that reports success without aTransferevent endsfailedwith the new codetransfer_not_confirmed. A sweep’s newrejectedcode istoken_disabled; the new error codes aretoken_disabled,token_blocked,not_a_contract,delegated_account,own_contract,invalid_decimals,too_many_tokensand503 chain_unavailable; the new event istoken.refused. For a token of your own, the conventional cost the fee is computed with is derived for each sweep. All of it: Tokens. -
Several hot wallets per deposit address: a delegate now holds a set of one to eight of your hot wallets, and each sweep specifies the hot wallet it goes to.
POST /v1/delegatescreates the delegate of a set of registered hot wallets andGET /v1/delegateslists them; one batch can sweep to several hot wallets. A sweep shows thedelegateit ran on, and its newreasoncodes arewrong_delegateandNotAHotWallet; delegates of sets senddelegate.activeanddelegate.failed.POST /v1/hot-walletsworks as before: a hot wallet gets its own delegate, the set of one. The contracts changed with it, and so did every delegate’s address: on the testnets, deposit addresses sign new authorizations for the new delegates. -
New name: the company is Portuna, the product is Portuna Sweep. Webhooks come with the
Portuna-Signature,Portuna-EventandPortuna-Deliveryheaders andUser-Agent: portuna-webhooks/1. New API keys start withptn_test_andptn_live_; keys issued before keep working. The TypeScript package is@portuna/sdk, the Go packageportuna. -
Reason codes: a sweep’s and a revocation’s
reasonand a hot wallet’serrorare stable codes, such asinsufficient_gas_balanceorchain_unavailable, and never the node’s own messages; a chain’s balanceerrorischain_unavailable. Every code: Statuses, confirmations and reorgs. -
Times in UTC: every time in the API and in webhooks is RFC 3339 in UTC, with
Z. -
SDKs: the lists, usage, the delivery log and test events, with iteration over every page, and the
webhook.testevent. -
Lists and reports:
GET /v1/sweeps,GET /v1/revocations,GET /v1/ledger,GET /v1/usageandGET /v1/webhook/deliveries, and thewebhook.testevent fromPOST /v1/webhook/test. -
API keys: an organization can have several keys; a revoked key gets
401at once, a disabled account403 partner_disabled. -
Testnets: the API is available on Sepolia and BSC testnet, with the Go and TypeScript SDKs.