Skip to content

Request access

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

API reference

Objects

The objects the API returns and accepts. Fields that are not required are left out of a response when they have no value.

FieldTypeDescription
error requiredobject
error.code requiredstringWhat went wrong. Stable, so branch on it.
error.message requiredstringThe details, for people. It may change.
error.detailsobjectWhat a client may act on besides the code, for some codes: the cause of a token’s refusal, with blocked: true when the check put the token on the blocklist for every account; the category and public_note of a blocked token; the items of a sweep list that are invalid or whose external_id is taken, max items of a list, and the max_items that fit in one transaction.

A 0x-hex address, in any case in requests and checksummed (EIP-55) in responses.

Type: string. Format: ^0x[0-9a-fA-F]{40}$. Example: 0x2Cd50979a8A33e8CA37DA85F8517fb148a67b769.

An integer in the smallest units, as a string.

Type: string. Format: ^[0-9]+$. Example: 1000000.

The chain’s id (EIP-155): 11155111 Sepolia and 97 BSC testnet with a test key, 1 Ethereum and 56 BSC with a live key.

Type: integer (int64). Example: 11155111, 97.

An amount of gas.

Type: integer (int64).

The cursor of the next page; null on the last page.

Type: string \| null.

A transaction hash, in any case in requests and in lower case in responses.

Type: string. Format: ^0x[0-9a-fA-F]{64}$. Example: 0x9c1f3e7a5b2d4c6e8f0a1b3c5d7e9f1a2b4c6d8e0f1a3b5c7d9e1f2a4b6c8d0e.

The id of a transaction, as in GET /v1/transactions.

Type: integer (int64). Example: 48213.

gas: the gas of a transaction of your gas wallet; fee: the fee for a sweep; fee_charge: a charge made under your agreement; fee_credit: a credit made under your agreement, which reduces the fees due; withdrawal: fees withdrawn from the gas wallet, together with the withdrawal’s gas; topup: a top-up of the gas wallet, found by the balance reconciliation; payout: available balance paid out to one of your hot wallets, its gas being a gas entry of the same transaction.

Type: string.

A change of your gas wallet’s balance, or of the fees it holds.

FieldTypeDescription
id requiredinteger (int64)
chain_id requiredChainIDThe chain’s id (EIP-155): 11155111 Sepolia and 97 BSC testnet with a test key, 1 Ethereum and 56 BSC with a live key.
kind requiredLedgerKindgas: the gas of a transaction of your gas wallet; fee: the fee for a sweep; fee_charge: a charge made under your agreement; fee_credit: a credit made under your agreement, which reduces the fees due; withdrawal: fees withdrawn from the gas wallet, together with the withdrawal’s gas; topup: a top-up of the gas wallet, found by the balance reconciliation; payout: available balance paid out to one of your hot wallets, its gas being a gas entry of the same transaction. One of: gas, fee, fee_charge, fee_credit, withdrawal, topup, payout.
amount requiredstringWei with a sign: plus for topup and fee_credit, minus for gas, fees, charges, withdrawals and payouts. Format: ^-?[0-9]+$.
tx_hash requiredstring | nullThe transaction of the entry; null for top-ups, charges and credits.
sweep_id requiredstring | null (uuid)The sweep a fee is for; null for other kinds.
note requiredstring | nullA note on charges and credits; for top-ups, the blocks the reconciliation covered.
created_at requiredstring (date-time)

Your activity on one chain in one UTC day.

FieldTypeDescription
date requiredstring (date)The UTC day.
chain_id requiredChainIDThe chain’s id (EIP-155): 11155111 Sepolia and 97 BSC testnet with a test key, 1 Ethereum and 56 BSC with a live key.
sweeps_done requiredintegerSweeps created that day that ended swept.
sweeps_failed requiredintegerSweeps created that day that ended failed, having reverted on chain or run out of attempts.
sweeps_rejected requiredintegerSweeps created that day that ended rejected: they were never sent, because a check before sending kept failing.
revocations_done requiredintegerRevocations created that day that ended revoked.
gas_spent requiredAmountThe gas of your gas wallet’s transactions that day, in wei, fee withdrawals aside.
fees requiredstringFees and charges accrued that day minus credits, in wei; below zero when the credits exceed them. Format: ^-?[0-9]+$.

Your sweeps of one UTC month against their conventional costs, per chain and token.

FieldTypeDescription
month requiredstringThe month, YYYY-MM.
from requiredstring (date-time)The month’s first moment, UTC.
to requiredstring (date-time)The next month’s first moment, UTC; sweeps settled before it count.
items requiredarray of ReportItem

What your sweeps of one token on one chain came to in the month. Amounts are wei of the chain’s native coin, each sweep at its batch’s gas price; gas is in gas units. savings = conventional_cost − gas_cost − fee.

FieldTypeDescription
chain_id requiredChainIDThe chain’s id (EIP-155): 11155111 Sepolia and 97 BSC testnet with a test key, 1 Ethereum and 56 BSC with a live key.
token requiredstringThe token as sweeps name it: the listed token’s ticker or the native coin’s, or the contract address of a token you added.
token_addressAddressThe token’s contract address; absent for the native coin.
token_symbolstringThe listed token’s ticker, or the symbol a token you added gives itself.
sweeps requiredobjectThe swept sweeps, by what the deposit address needed.
sweeps.total requiredintegerAll swept sweeps.
sweeps.repeat requiredintegerThe address was already delegated.
sweeps.first requiredintegerThe authorization delegated the address, which had an account.
sweeps.first_new requiredintegerThe authorization delegated the address and created its account.
baselines requiredarray of objectThe conventional cost of the swept sweeps by the version of the token’s conventional cost they were priced with: several when a token you added was measured again during the month.
baselines[].version requiredinteger | nullThe version of the conventional cost of a token you added; null for a base token’s.
baselines[].sweeps requiredintegerThe swept sweeps priced with it.
baselines[].conventional_gas requiredGasAn amount of gas.
baselines[].conventional_cost requiredAmountThe conventional cost at the batches’ gas prices, in wei.
conventional_gas requiredGasThe conventional cost: the same sweeps as conventional sweeps, top-up and transfer, in gas.
conventional_cost requiredAmountThe same at the batches’ gas prices, in wei.
gas requiredGasActual: the swept sweeps’ share of the batch gas.
gas_cost requiredAmountThe same in wei, which your gas wallet paid.
fee_gas requiredGasThe fees in gas.
fee requiredAmountThe fees in wei.
savings_gas requiredinteger (int64)The conventional cost in gas less the gas and the fees; below zero if the sweeps cost more.
savings requiredstringSavings: conventional_cost less gas_cost and fee, in wei; below zero if the sweeps cost more. Format: ^-?[0-9]+$.
paid_bps requiredinteger | nullThe share of the conventional cost you paid for the swept sweeps, gas and fees, in basis points: at most your rate where the fee is above zero. null without a conventional cost.
failed requiredintegerSweeps of the token that failed in a mined batch; they are not in the sums above.
failed_gas requiredGasThe failed sweeps’ share of the batch gas.
failed_gas_cost requiredAmountThe same in wei; failed sweeps pay no fee.

A webhook event and how its delivery went.

FieldTypeDescription
id requiredstring (uuid)The event’s id, as in the delivery.
event requiredstringThe event type.
status requiredstringpending: being delivered, or waiting for the next attempt; delivered: your endpoint responded with a 2xx; failed: the attempts ran out, or the webhook was deleted. One of: pending, delivered, failed.
attempts requiredintegerAttempts made so far.
last_status_code requiredinteger | nullThe HTTP status of your endpoint’s response to the last attempt; null if it did not respond.
last_error requiredstring | nullWhy the last attempt failed; null if it did not. status <code>: your endpoint responded with another status. timeout, connection refused, connection reset, connection closed, DNS lookup failed, TLS error, connection failed: it did not respond; private address refused: its host resolves to an address that is not public. webhook removed: the webhook was deleted. internal: a failure on our side.
created_at requiredstring (date-time)When the event happened.
delivered_at requiredstring | null (date-time)When the event was delivered; null until then.
next_attempt_at requiredstring | null (date-time)When the next attempt is due; only for pending.

Your gas wallet and its balance on each chain.

FieldTypeDescription
gas_wallet requiredAddressYour gas wallet, the same address on every chain.
chains requiredarray of object
chains[].chain_id requiredChainIDThe chain’s id (EIP-155): 11155111 Sepolia and 97 BSC testnet with a test key, 1 Ethereum and 56 BSC with a live key.
chains[].name requiredstringThe chain’s name.
chains[].native requiredstringThe ticker of the chain’s native coin.
chains[].balanceAmountThe gas wallet’s balance, in wei; absent when error is set.
chains[].fees_accrued requiredAmountAll fees and charges accrued on this chain minus credits, in wei.
chains[].fees_withdrawn requiredAmountFees withdrawn so far, with the gas of their withdrawals, in wei.
chains[].fees_due requiredAmountFees accrued and not withdrawn yet, in wei. They stay on the gas wallet in reserve.
chains[].availableAmountWhat is left for gas, in wei: balance minus fees_due, but not below zero. It is also what your organization’s owner may pay out to your hot wallets, less the payout’s gas. Absent when error is set.
chains[].errorstringchain_unavailable: the chain’s node did not respond, so there is no balance. One of: chain_unavailable.

Your rates and the conventional costs on one chain.

FieldTypeDescription
chain_id requiredChainIDThe chain’s id (EIP-155): 11155111 Sepolia and 97 BSC testnet with a test key, 1 Ethereum and 56 BSC with a live key.
name requiredstringThe chain’s name.
rate_bps requiredintegerX for token sweeps, in basis points, 7000 = 70%; 0 means no fee.
rate requiredstringrate_bps in percent.
native_markup_bps requiredintegerThe markup on gas for native coin sweeps, in basis points.
native_markup requiredstringnative_markup_bps in percent.
conventional_gasmap of objectThe conventional cost of each asset, by the token’s ticker or the native coin’s: the gas of a conventional sweep, topping up a deposit address and transferring from it. Absent on a chain without conventional costs.
conventional_gas.<key>.new requiredGasGas for an address without an account on the chain, which the top-up creates (tokens only).
conventional_gas.<key>.existing requiredGasGas for an address with an account.
extra_gasobjectThe batch gas a first sweep of an address bears on top of a repeat one. Absent on a chain without conventional costs.
extra_gas.delegation requiredGasSetting the address’s delegate by its authorization.
extra_gas.account requiredGasCreating the address’s account as well, for an address that held only tokens.
custom_tokensTokenTariffX for the tokens you add yourself on the chain, unless a token has a rate of its own.
floorobjectThe conventional cost of a token of your own that is not measured yet. Absent on a chain without conventional costs.
floor.transfer_gas requiredGasAn amount of gas.
floor.conventional_gas requiredConventionalGasA conventional cost, in gas.
tokensarray of objectEach of your tokens on the chain, as in GET /v1/tokens, with its tariff and conventional cost.
tokens[].token requiredstringHow a sweep identifies the token.
tokens[].addressAddressThe token’s contract address; absent for the native coin.
tokens[].symbolstringThe token’s symbol.
tokens[].source requiredstringpreset: a base token; custom: one you added. One of: preset, custom.
tokens[].status requiredstringThe token’s status, as in GET /v1/tokens. One of: active, disabled, refused.
tokens[].tariff requiredTokenTariffWhat you pay for a token, and where the rate comes from. Portuna’s notes on a rate are not shown.
tokens[].baseline requiredBaselineA token’s conventional cost, the gas of a conventional sweep: the top-up of a deposit address plus a plain transfer of the token’s whole balance from it (transfer_gas), plus creating the address’s account for one without an account. Frozen and versioned: a sweep records the version it was priced with.

A conventional cost, in gas.

FieldTypeDescription
new requiredGasGas for an address without an account on the chain, which the top-up creates.
existing requiredGasGas for an address with an account.

What you pay for a token, and where the rate comes from. Portuna’s notes on a rate are not shown.

FieldTypeDescription
kind requiredstringbase: the chain’s rate of the base tokens; custom_default: the default rate of the tokens you add yourself, 80%; negotiated: a rate Portuna agreed with you. One of: base, custom_default, negotiated.
rule requiredstringconventional_share: rate_bps is X, the share of the token’s conventional cost you pay at most; gas_markup: the markup on the gas of a native coin sweep. One of: conventional_share, gas_markup.
rate_bps requiredintegerThe rate in basis points, 8000 = 80%. From 0 to 10000.
since requiredstring | null (date-time)When the rate was set; null for the default nobody set.
valid_until requiredstring | null (date-time)When an agreed rate runs out and the rate of the level above applies: your agreed rate for all your tokens on the chain, if it still applies then, or the default. null without an end. You get tariff.changed with the reason expiring 7 days before.
next_rate_bps requiredinteger | nullThe rate that applies once valid_until passes, as things stand; null without an end. From 0 to 10000.

A token’s conventional cost, the gas of a conventional sweep: the top-up of a deposit address plus a plain transfer of the token’s whole balance from it (transfer_gas), plus creating the address’s account for one without an account. Frozen and versioned: a sweep records the version it was priced with.

FieldTypeDescription
transfer_gas requiredinteger | nullThe transfer, in gas; null for the native coin, whose conventional sweep is the transfer itself.
conventional_gas requiredConventionalGasA conventional cost, in gas.
version requiredinteger | nullThe version of the conventional cost of a token of your own; null for a base token’s, which Portuna measured.
method requiredstringfork: measured by Portuna on a copy of the chain (base tokens); simulate: a test deposit address in a simulation; holders: real holders of the token in a simulation; deposit: your own deposit address at the first sweep; floor: not measured yet, the network’s floor; manual: set by Portuna after a review. One of: fork, simulate, holders, deposit, floor, manual.
measured_at requiredstring | null (date-time)When it was measured.
block requiredinteger | nullThe block it was measured at.
status requiredstringmeasured; provisional: the network’s floor until the token is measured, at the latest from your first deposit; review: the transfer costs more than 80,000 gas, which is used until Portuna reviews it. One of: measured, provisional, review.
next requiredobject | nullA version that will replace this one: a conventional cost that rises by more than 5% applies 7 days after you are notified (tariff.changed); one that falls applies at once.
next.transfer_gas requiredGasAn amount of gas.
next.conventional_gas requiredConventionalGasA conventional cost, in gas.
next.version requiredintegerThe version.
next.effective_at requiredstring (date-time)When it applies.
FieldTypeDescription
keep_one_unitbooleanToken sweeps leave 1 smallest unit on the deposit address, which makes your user’s next deposit cheaper. A sweep request can override it. Off by default.

A hot wallet on one chain and its own delegate, which holds this hot wallet alone.

FieldTypeDescription
chain_id requiredChainIDThe chain’s id (EIP-155): 11155111 Sepolia and 97 BSC testnet with a test key, 1 Ethereum and 56 BSC with a live key.
address requiredAddressThe hot wallet, where sweeps send the funds.
delegate requiredAddressThe hot wallet’s own delegate, an address deposit addresses sign their authorizations for. Delegates of sets that hold the hot wallet are in GET /v1/delegates.
status requiredstringpending: the delegate is being deployed; active: it is deployed, and sweeps can go; failed: the deployment failed, and registering the hot wallet again retries it. One of: pending, active, failed.
errorstringWhy the deployment failed; only with failed. Most often insufficient_gas_balance: top up the gas wallet and register the hot wallet again. not_deployed: the deployment went through, but the delegate is not there. The other codes are the causes of a failed attempt, as in a sweep’s reason. One of: not_deployed, insufficient_gas_balance, gas_limit_exceeded, transaction_reverted, nonce_conflict, chain_unavailable, internal.
tx_hashstringThe transaction that deployed the delegate.
created_at requiredstring (date-time)When the hot wallet was registered.

A delegate on one chain: the contract deposit addresses sign their authorizations for, and the fixed set of hot wallets it lets them be swept to.

FieldTypeDescription
chain_id requiredChainIDThe chain’s id (EIP-155): 11155111 Sepolia and 97 BSC testnet with a test key, 1 Ethereum and 56 BSC with a live key.
address requiredAddressThe delegate, the address deposit addresses sign their authorizations for.
hot_wallets requiredarray of AddressThe hot wallets it holds, in ascending order of address; the only places funds can go.
status requiredstringpending: the delegate is being deployed; active: it is deployed, and deposit addresses delegated to it can be swept to its hot wallets; failed: the deployment failed, and creating the delegate again retries it. One of: pending, active, failed.
errorstringWhy the deployment failed; only with failed. The codes are those of a hot wallet’s error. One of: not_deployed, insufficient_gas_balance, gas_limit_exceeded, transaction_reverted, nonce_conflict, chain_unavailable, internal.
tx_hashstringThe transaction that deployed the delegate.
created_at requiredstring (date-time)When the delegate was requested.

An EIP-7702 authorization signed by the deposit address’s key: on chain chain_id, the deposit address runs the code at address. How to sign it, also in an HSM, a KMS or an MPC wallet: the Signing authorizations guide in the developer documentation.

FieldTypeDescription
chain_id requiredinteger (int64)The chain of the request; 0 (any chain) is refused.
address requiredAddressA deployed delegate that holds the sweep’s hot wallet: the hot wallet’s own from POST /v1/hot-wallets, or one of a set from POST /v1/delegates. The zero address for a revocation.
nonce requiredinteger (int64)The deposit address’s current nonce.
y_parity requiredintegerThe signature’s y parity. One of: 0, 1.
r requiredstringThe signature’s r, 0x-hex of up to 32 bytes. Format: ^0x[0-9a-fA-F]{1,64}$.
s requiredstringThe signature’s s, 0x-hex of up to 32 bytes, in the lower half of the curve order (EIP-2). Format: ^0x[0-9a-fA-F]{1,64}$.

What to sweep, from where and to where.

FieldTypeDescription
external_idstringYour id for the sweep, unique in your account: a request with an external_id that is already taken returns that sweep instead of creating another, so retries are safe. Up to 128 characters.
chain_id requiredChainIDThe chain’s id (EIP-155): 11155111 Sepolia and 97 BSC testnet with a test key, 1 Ethereum and 56 BSC with a live key.
hot_wallet requiredAddressYour hot wallet on this chain, where the funds go. A delegate that holds it must be active.
account requiredAddressThe deposit address.
token requiredstringA token’s ticker listed on the chain (in any case), the contract address of a listed token or of a token you enabled (POST /v1/tokens), or native (or the native coin’s ticker) for the native coin. The token must be active in GET /v1/tokens.
amountAmountHow much to sweep, above zero; without it, the whole balance.
keep_one_unitbooleanLeave 1 smallest unit of the token on the deposit address; defaults to your settings. Ignored for the native coin.
authorizationAuthorizationNeeded until the deposit address is delegated to a deployed delegate that holds hot_wallet. After that it is not used, though one that is sent must still be valid. One for another delegate of yours that holds the hot wallet moves the deposit address to that delegate.

A sweep and its outcome.

FieldTypeDescription
id requiredstring (uuid)
external_idstringYour id for the sweep, if the request had one.
chain_id requiredChainIDThe chain’s id (EIP-155): 11155111 Sepolia and 97 BSC testnet with a test key, 1 Ethereum and 56 BSC with a live key.
hot_wallet requiredAddressThe hot wallet.
account requiredAddressThe deposit address.
token requiredstringThe listed token’s ticker or the native coin’s; for a token you enabled yourself, its contract address, never the symbol it gives itself.
token_addressAddressThe token’s contract address; absent for the native coin.
token_symbolstringThe token’s symbol when the sweep was requested: the ticker of a listed token or the native coin, or what your token’s contract gives, cleaned as in Token. Informational only.
token_decimalsintegerThe token’s decimals when the sweep was requested; absent when the token does not say. From 0 to 36.
delegateAddressThe delegate the deposit address ran on in the batch that carried the sweep; only once sent.
amountAmountThe amount requested; absent when the request was for the whole balance.
keep_one_unitbooleanPresent and true when the sweep leaves 1 smallest unit of the token on the deposit address.
status requiredstringqueued: waiting for a batch or a retry; processing: in a batch being prepared, sent or confirmed; swept: done, the funds are in the hot wallet; failed: reverted on chain, or ran out of attempts; rejected: never sent. The last three are final. One of: queued, processing, swept, failed, rejected.
reasonstringWhy the sweep ended rejected or failed, or, while it is queued for a retry, why the last attempt did not go through. A stable code: the node’s own messages stay in our logs.

- rejected, a check before sending kept failing, or failed once for an item of a sweep list: not_upgraded (the deposit address is not delegated and the sweep has no authorization), stale_authorization, wrong_delegate (the deposit address runs on a contract that is not a deployed delegate of yours holding hot_wallet, and the sweep has no authorization for one: sign one for a delegate that holds it), would_fail or nothing_to_sweep; or at once, token_disabled: the token was turned off, refused or blocked after the sweep was requested. Every item of a sweep list too heavy for one transaction when it was sent ends rejected with gas_limit_exceeded. - failed on chain, inside a batch that went through: the contract error the transfer reverted with, TokenTransferFailed, NativeTransferFailed, NothingToSweep, Unauthorized or NotAHotWallet, or reverted without one; or transfer_not_confirmed: the transfer reported success, but the token emitted no Transfer event from the deposit address to the hot wallet, so nothing is counted as moved and there is no fee. - The cause of a failed attempt, which is retried, and final with failed once the attempts run out: insufficient_gas_balance (top up the gas wallet), gas_limit_exceeded, transaction_reverted, nonce_conflict, chain_unavailable or internal. One of: not_upgraded, stale_authorization, wrong_delegate, would_fail, nothing_to_sweep, token_disabled, reverted, transfer_not_confirmed, TokenTransferFailed, NativeTransferFailed, NothingToSweep, Unauthorized, NotAHotWallet, insufficient_gas_balance, gas_limit_exceeded, transaction_reverted, nonce_conflict, chain_unavailable, internal.
attempts requiredintegerHow many times the sweep was tried.
swept_amountAmountHow much reached the hot wallet; only with swept. For a token, what its Transfer events from the deposit address to the hot wallet in the sweep say, not what the token reported.
reported_amountAmountWhat the transfer reported moving, only when the token’s Transfer events say otherwise: for example, the full amount of a token that keeps a fee on transfers, while swept_amount is what arrived.
tx_hashstringThe batch transaction that carried the sweep.
transaction_idTransactionIDThe transaction the sweep rides, in GET /v1/transactions/{id}; only once it is in one. While the sweep is queued for a retry it rides none.
batch_sizeintegerHow many sweeps ride the same transaction, this one included; only with transaction_id.
batch_indexintegerThe sweep’s place in that transaction, from 0: the k-th Swept or SweepFailed event of the batch’s contract in its logs is the sweep of batch_index k. The same in every version of the transaction; only with transaction_id. The transaction’s id and batch_index name the sweep’s place for good.
log_indexintegerWhere in the block of the mined transaction the batch contract’s Swept or SweepFailed event of the sweep is; only once the transaction is mined and confirmed, swept or failed. Absent for sweeps settled before October 26, 2026.
transfer_log_indexintegerWhere in that block the token’s Transfer from the deposit address to the hot wallet in the sweep is, the first if there are more; only with swept, and not for the native coin, which has none.
kindstringWhat the deposit address needed in the batch, which decides its share of the gas and its conventional cost. repeat: nothing, it was already delegated. first: its delegation; it already had an account on the chain. first_new: its delegation, which also created its account, as it held only tokens. One of: repeat, first, first_new.
gasGasThe sweep’s share of the batch gas.
gas_costAmountThe same in wei.
feeAmountThe fee in wei; only with swept.
conventional_gasGasThe conventional cost of the token the fee was computed with, as it was when the batch was prepared: the base token’s, or your own token’s measured conventional cost of baseline_version, or the network’s floor while it was not measured.
rate_bpsintegerThe rate the fee was computed with; for the native coin, the markup on gas.
tariff_sourcestringWhere the rate came from, as tariff.kind of the token. One of: base, custom_default, negotiated.
baseline_versionintegerThe version of your own token’s conventional cost the sweep was priced with.
list_idstring (uuid)The sweep list the sweep is an item of, GET /v1/sweep-lists/{id}; absent for a sweep requested alone.
created_at requiredstring (date-time)When the sweep was requested.
updated_at requiredstring (date-time)When the sweep last changed.

A token on one chain as your account sees it: a base token (the native coin or one Portuna lists), or one you added yourself.

FieldTypeDescription
chain_id requiredChainIDThe chain’s id (EIP-155): 11155111 Sepolia and 97 BSC testnet with a test key, 1 Ethereum and 56 BSC with a live key.
token requiredstringHow a sweep identifies the token: native, the listed token’s ticker, or the address of a token of your own (never its symbol).
addressAddressThe token’s contract address; absent for the native coin.
symbolstringThe listed token’s ticker, or the symbol your token’s contract gives, with control characters removed and cut to 32 characters. Informational: a token of your own may call itself anything. Up to 32 characters.
namestringThe name your token’s contract gives, cleaned like symbol; absent for listed tokens. Up to 64 characters.
decimalsintegerThe token’s decimals, which amounts are counted in; absent when the token does not say. From 0 to 36.
source requiredstringpreset: a base token, on for every account unless it turns it off; custom: one you added. One of: preset, custom.
status requiredstringactive: sweeps of the token are accepted. disabled: you turned the base token off, or, in a token.refused event, you removed your token since. refused: Portuna refuses the token, see reason. One of: active, disabled, refused.
reasonstringWhy the token is refused. blocked: Portuna blocked it for every account. failing: 5 sweeps of it in a row failed on chain for the token’s fault. The token failed the checks it passed when you enabled it, as the service checks them again when it starts: not_a_contract, delegated_account, invalid_decimals or decimals_changed (decimals() returns a different value than then). Adding it again with POST /v1/tokens checks it anew, except a failing one, which only support turns on again; a blocked token cannot be added. One of: blocked, failing, not_a_contract, delegated_account, invalid_decimals, decimals_changed.
blockedobjectWhy Portuna blocked the token, when it did.
blocked.category requiredstringWhy, in a word: unsweepable is a token the check found your sweeps cannot move, or not a working token, blocked for every account by the check itself. One of: sanctions, compromised, impersonation, griefing, legal, unsweepable, other.
blocked.public_note requiredstringPortuna’s note for you.
providerTokenProviderWhat outside providers know of a token of your own.
checkobjectThe last check of a token of your own.
check.result requiredstringok: your sweep moved the token in the test; not_simulated: the test could not run, and the token is run on your first deposit, priced at the network’s floor until then. One of: ok, not_simulated.
check.method requiredstring | nullHow the test ran, simulate or holders.
check.checked_at requiredstring | null (date-time)When.
warningsarray of TokenWarningWhat to weigh about a token of your own.
tariffTokenTariffWhat you pay for a token, and where the rate comes from. Portuna’s notes on a rate are not shown.
baselineBaselineA token’s conventional cost, the gas of a conventional sweep: the top-up of a deposit address plus a plain transfer of the token’s whole balance from it (transfer_gas), plus creating the address’s account for one without an account. Frozen and versioned: a sweep records the version it was priced with.
created_atstring (date-time)When you added your token; absent for base tokens.

What CoinGecko, or DefiLlama, know of a token’s address, for you to compare with the issuer’s. Data provided by CoinGecko where attribution says so.

FieldTypeDescription
status requiredstringfound; not_found: no provider knows the contract, an unknown token; unavailable: they did not respond, and are asked again later; testnet: providers know no testnet contracts, so none is asked; none: not asked on this chain. One of: found, not_found, unavailable, testnet, none.
sourcestringWho knows it. One of: coingecko, defillama.
idstringCoinGecko’s id of the coin.
namestringThe name at the provider.
symbolstringThe symbol at the provider.
decimalsintegerThe decimals at the provider, on this chain.
imagestringThe coin’s logo.
urlstringThe coin’s page at the provider.
homepagestringThe project’s site.
categoriesarray of stringThe provider’s categories of the coin.
rankintegerThe rank by market cap.
noticestringThe provider’s public notice of the coin.
platformsintegerHow many chains the coin is on.
price_usdnumberDefiLlama’s price.
attributionstringThe credit the provider asks for.
looked_up_atstring (date-time)When the providers were asked.

Something to weigh before adding or sweeping a token of your own.

FieldTypeDescription
code requiredstringunknown_to_providers (an unknown token on mainnet), provider_unavailable, testnet, lookalike (the symbol looks like a base token’s, see base), other_chain (the address is a base token of another chain), decimals_mismatch, symbol_mismatch (the contract and the provider differ), fee_on_transfer, rebasing, near_item_limit, proxy (the issuer can replace the code), not_simulated, baseline_review.
message requiredstringThe warning, for people.
baseobjectThe base token a lookalike passes for, or the token another chain lists at the address.
base.chain_id requiredChainIDThe chain’s id (EIP-155): 11155111 Sepolia and 97 BSC testnet with a test key, 1 Ethereum and 56 BSC with a live key.
base.symbol requiredstringIts ticker.
base.addressAddressThe base token’s address on the chain asked about, if it has one.
fee_bpsintegerThe fee a transfer keeps, in basis points.
sweep_gasintegerThe gas of your sweep of one address of the token.
implementationAddressThe proxy’s implementation.

What the check of a token found, for you to compare with the issuer’s site or a block explorer before adding it.

FieldTypeDescription
chain_id requiredChainIDThe chain’s id (EIP-155): 11155111 Sepolia and 97 BSC testnet with a test key, 1 Ethereum and 56 BSC with a live key.
address requiredstringThe token’s contract address; empty for the native coin.
testnet requiredbooleanWhether the chain is a testnet.
explorer_url requiredstring | nullThe token’s page in the chain’s block explorer.
source requiredstringpreset: the address is a base token of the chain, turned on rather than added. One of: preset, custom.
status requiredstringYour token’s status now; new if you have not added it. One of: new, active, disabled, refused.
reasonstringWhy your token is refused, if it is.
contract requiredobjectWhat the contract says of itself.
contract.symbol requiredstringThe symbol, cleaned for display.
contract.name requiredstringThe name, cleaned for display.
contract.decimals requiredinteger | nullThe decimals.
contract.total_supply requiredstring | nullThe total supply, in the smallest units.
contract.proxy requiredstringThe kind of proxy, eip1967, beacon or zos; empty for a contract that is not one.
contract.implementation requiredstring | nullA proxy’s implementation.
contract.hints requiredarray of stringWhat the issuer can do with the token, as its code shows: pause, blacklist, tax, max_tx, cooldown, fee, rebasing, erc777, upgrade.
provider requiredTokenProviderWhat CoinGecko, or DefiLlama, know of a token’s address, for you to compare with the issuer’s. Data provided by CoinGecko where attribution says so.
check requiredobject | nullHow the test sweep went; null for a base token, which is not checked.
check.result requiredstringok: your sweep moved the token; not_simulated: the test could not run. One of: ok, not_simulated.
check.method requiredstring | nullsimulate or holders.
check.transfer_gas requiredinteger | nullA plain transfer of the whole balance, in gas.
check.sweep_gas requiredinteger | nullYour sweep of one address in a batch, in gas, the batch’s overhead aside.
check.fee_bps requiredintegerThe fee a transfer keeps, in basis points.
check.dust requiredbooleanA transfer of the whole balance leaves some on the address, as rebasing tokens do.
check.block requiredinteger | nullThe block the test ran on.
check.checked_at requiredstring | null (date-time)When.
warnings requiredarray of TokenWarningWhat to weigh.
tariff requiredTokenTariffWhat you pay for a token, and where the rate comes from. Portuna’s notes on a rate are not shown.
baseline requiredBaseline | nullThe conventional cost the token’s fees are priced against; null on a chain without one.

Which deposit address to revoke, with its authorization of the zero address.

FieldTypeDescription
external_idstringYour id for the revocation, unique in your account: a request with an external_id that is already taken returns that revocation instead of creating another, so retries are safe. Up to 128 characters.
chain_id requiredChainIDThe chain’s id (EIP-155): 11155111 Sepolia and 97 BSC testnet with a test key, 1 Ethereum and 56 BSC with a live key.
account requiredAddressThe deposit address.
authorization requiredAuthorizationThe deposit address’s authorization with address = 0x0000000000000000000000000000000000000000.

A revocation and its outcome.

FieldTypeDescription
id requiredstring (uuid)
external_idstringYour id for the revocation, if the request had one.
chain_id requiredChainIDThe chain’s id (EIP-155): 11155111 Sepolia and 97 BSC testnet with a test key, 1 Ethereum and 56 BSC with a live key.
account requiredAddressThe deposit address.
status requiredstringqueued and processing: as for a sweep; revoked: the deposit address has no delegation any more; failed: the transaction went through but the chain skipped the authorization, or the attempts ran out; rejected: never sent. The last three are final. One of: queued, processing, revoked, failed, rejected.
reasonstringWhy the revocation ended rejected or failed, or, while it is queued for a retry, why the last attempt did not go through. For rejected: not_delegated (there is no delegation to remove), stale_authorization (the deposit address’s nonce has changed) or invalid_authorization. For failed: not_applied (the chain skipped the authorization). The other codes are the causes of a failed attempt, as in a sweep’s reason. One of: not_delegated, stale_authorization, invalid_authorization, not_applied, insufficient_gas_balance, gas_limit_exceeded, transaction_reverted, nonce_conflict, chain_unavailable, internal.
attempts requiredintegerHow many times the revocation was tried.
tx_hashstringThe transaction that carried the revocation.
transaction_idTransactionIDThe transaction the revocation rides, as for a sweep; only once it is in one.
batch_sizeintegerHow many revocations ride the same transaction, this one included; only with transaction_id.
batch_indexintegerThe revocation’s place in that transaction’s authorization list, from 0; only with transaction_id.
gasGasThe revocation’s share of its transaction’s gas.
gas_costAmountThe same in wei.
created_at requiredstring (date-time)When the revocation was requested.
updated_at requiredstring (date-time)When the revocation last changed.

A transaction of your gas wallet that carries sweeps (a batch) or revocations. A batch takes the due sweeps of the gas wallet on the chain, to any of your hot wallets, oldest first, up to the chain’s batch size. A transaction that reverted or was dropped while a version of the service from before October 24, 2026 was running may show no jobs and no hot wallets, and a reverted one no gas_used: that version did not keep them. Such a version ran until that date and may run later, during an update of the service or after a rollback.

FieldTypeDescription
id requiredTransactionIDThe id of a transaction, as in GET /v1/transactions.
chain_id requiredChainIDThe chain’s id (EIP-155): 11155111 Sepolia and 97 BSC testnet with a test key, 1 Ethereum and 56 BSC with a live key.
kind requiredstringsweep: a batch of sweeps; revocation: revocations, sent by the gas wallet to itself. One of: sweep, revocation.
status requiredstringpending: sent, and not yet mined and confirmed; it may be replaced at a higher fee, which changes hash. mined: mined and confirmed; each sweep or revocation in it ended on its own, see sweeps or revocations. reverted: mined and confirmed, but it failed as a whole: its gas is spent, and what it carried went back to the queue. dropped: another transaction took its nonce, so it was never mined: nothing was spent, and what it carried went back to the queue. The last three are final. One of: pending, mined, reverted, dropped.
hash requiredTxHashThe mined version’s hash; while none is mined, the latest version’s.
block_number requiredinteger | null (int64)The block of the mined version; null while pending and when dropped, and for transactions settled before October 26, 2026.
hot_wallets requiredarray of AddressThe hot wallets a batch sweeps to, in ascending order; empty for revocations.
sweeps requiredobject | nullThe sweeps a batch carried, by how each fared in it; null for revocations. requeued sweeps went back to the queue when the transaction reverted or was dropped: each shows on its own where it went on, in another transaction or failed once its attempts ran out. Those whose attempts ran out when it reverted or was dropped, and that no transaction carried since, count as failed.
sweeps.total requiredinteger
sweeps.processing requiredinteger
sweeps.swept requiredinteger
sweeps.failed requiredinteger
sweeps.requeued requiredinteger
revocations requiredobject | nullThe revocations a transaction carried, by how each fared in it, as for sweeps; null for a batch.
revocations.total requiredinteger
revocations.processing requiredinteger
revocations.revoked requiredinteger
revocations.failed requiredinteger
revocations.requeued requiredinteger
gas_used requiredinteger | null (int64)The gas the mined version used; null while pending and when dropped, and possibly for a transaction that reverted while a version of the service from before October 24, 2026 was running.
gas_cost requiredstring | nullThe same in wei, what your gas wallet paid; null while pending and when dropped.
fees requiredstring | nullThe fees of its swept sweeps, in wei; 0 for revocations. null while pending and when dropped.
created_at requiredstring (date-time)When the transaction was first sent.
mined_at requiredstring | null (date-time)When the service saw it mined and confirmed; null while pending and when dropped.
list_id requiredstring | null (uuid)The sweep list the transaction was sent for, GET /v1/sweep-lists/{id}; null for a batch of sweeps requested alone, and for revocations.

Sweeps to send in one transaction of their own.

FieldTypeDescription
chain_id requiredChainIDThe chain’s id (EIP-155): 11155111 Sepolia and 97 BSC testnet with a test key, 1 Ethereum and 56 BSC with a live key.
waitintegerHow many seconds the request may wait for the list to be sent, to answer with its transaction; 0 answers at once. Portuna may wait less on a chain. The answer comes within wait of the checks of the request. From 0 to 55. Default: 10.
items requiredarray of SweepListItemRequestThe sweeps, up to the chain’s batch size, in the order of the list.

A sweep of a list, as SweepRequest without chain_id; its external_id is required.

FieldTypeDescription
external_id requiredstringYour id for the sweep, unique in your account. A request with the same set of external_id on the same chain returns that list. An item rejected burns its external_id: to try it again, use a new one. Up to 128 characters.
hot_wallet requiredAddressYour hot wallet on this chain, where the funds go. A delegate that holds it must be active.
account requiredAddressThe deposit address.
token requiredstringA token’s ticker listed on the chain (in any case), the contract address of a listed token or of a token you enabled (POST /v1/tokens), or native (or the native coin’s ticker) for the native coin. The token must be active in GET /v1/tokens.
amountAmountHow much to sweep, above zero; without it, the whole balance.
keep_one_unitbooleanLeave 1 smallest unit of the token on the deposit address; defaults to your settings. Ignored for the native coin.
authorizationAuthorizationNeeded until the deposit address is delegated to a deployed delegate that holds hot_wallet. After that it is not used, though one that is sent must still be valid. One for another delegate of yours that holds the hot wallet moves the deposit address to that delegate.

A sweep list and how far it went.

FieldTypeDescription
id requiredstring (uuid)
chain_id requiredChainIDThe chain’s id (EIP-155): 11155111 Sepolia and 97 BSC testnet with a test key, 1 Ethereum and 56 BSC with a live key.
status requiredstringFrom its items: queued while any waits in the queue, the list’s turn or its retry; processing while its transaction is being prepared and signed; sent while it rides a transaction in flight; done once every item has its outcome. One of: queued, processing, sent, done.
transaction requiredTransaction | nullThe transaction the list rides while sent, and the last one it rode once done; null otherwise. A replacement at a higher fee changes its hash, not its id. The hash is that of the version signed and recorded: the network may get it moments after the answer, or only when it is rebroadcast; transaction.sent and transaction.mined confirm it. The transactions of a list that reverted or were dropped are in GET /v1/transactions?list_id=.
items requiredarray of SweepListItemThe items in the order of the request; the whole sweeps are in GET /v1/sweeps?list_id=.
created_at requiredstring (date-time)When the list was requested.

An item of a sweep list, in short.

FieldTypeDescription
id requiredstring (uuid)
external_id requiredstring
status requiredstringqueued: waiting for a batch or a retry; processing: in a batch being prepared, sent or confirmed; swept: done, the funds are in the hot wallet; failed: reverted on chain, or ran out of attempts; rejected: never sent. The last three are final. One of: queued, processing, swept, failed, rejected.
reasonstringWhy the sweep ended rejected or failed, or, while it is queued for a retry, why the last attempt did not go through. A stable code: the node’s own messages stay in our logs.

- rejected, a check before sending kept failing, or failed once for an item of a sweep list: not_upgraded (the deposit address is not delegated and the sweep has no authorization), stale_authorization, wrong_delegate (the deposit address runs on a contract that is not a deployed delegate of yours holding hot_wallet, and the sweep has no authorization for one: sign one for a delegate that holds it), would_fail or nothing_to_sweep; or at once, token_disabled: the token was turned off, refused or blocked after the sweep was requested. Every item of a sweep list too heavy for one transaction when it was sent ends rejected with gas_limit_exceeded. - failed on chain, inside a batch that went through: the contract error the transfer reverted with, TokenTransferFailed, NativeTransferFailed, NothingToSweep, Unauthorized or NotAHotWallet, or reverted without one; or transfer_not_confirmed: the transfer reported success, but the token emitted no Transfer event from the deposit address to the hot wallet, so nothing is counted as moved and there is no fee. - The cause of a failed attempt, which is retried, and final with failed once the attempts run out: insufficient_gas_balance (top up the gas wallet), gas_limit_exceeded, transaction_reverted, nonce_conflict, chain_unavailable or internal. One of: not_upgraded, stale_authorization, wrong_delegate, would_fail, nothing_to_sweep, token_disabled, reverted, transfer_not_confirmed, TokenTransferFailed, NativeTransferFailed, NothingToSweep, Unauthorized, NotAHotWallet, insufficient_gas_balance, gas_limit_exceeded, transaction_reverted, nonce_conflict, chain_unavailable, internal.

Your webhook settings.

FieldTypeDescription
url requiredstring (uri)Where events go.
secret requiredstringThe signing secret, whsec_…. Keep it on your backend.
low_balance requiredarray of objectLow balance alerts of your gas wallet, one per chain.
low_balance[].chain_id requiredChainIDThe chain’s id (EIP-155): 11155111 Sepolia and 97 BSC testnet with a test key, 1 Ethereum and 56 BSC with a live key.
low_balance[].threshold requiredAmountThe threshold, in wei.
low_balance[].low requiredbooleanThe balance is below the threshold, and the alert was sent; it re-arms once the balance recovers.

The body of a webhook delivery. type tells what happened and what data is.

  • Sweeps and revocations that ride a transaction: a transaction event, one per transaction rather than one per sweep. transaction.sent comes when the transaction is sent and again for every replacement at a higher fee; transaction.mined once it is mined and confirmed, with each sweep’s outcome; transaction.reverted or transaction.dropped if it failed as a whole, with what became of each sweep. data is the transaction and its items as they were at the event.
  • Sweeps and revocations that ended before any transaction carried them: sweep.rejected, sweep.failed, revocation.rejected, revocation.failed, with the sweep as in GET /v1/sweeps/{id} or the revocation as in GET /v1/revocations/{id}.
  • A hot wallet as in GET /v1/hot-wallets, a delegate as in GET /v1/delegates, a token as in GET /v1/tokens, a change of your tariff, a low balance alert, a payout as in GET /v1/payouts.

Every sweep’s outcome comes in exactly one event. Hot wallets, delegates, tokens, sweeps and revocations are shown as they are when the event is delivered (the status of a sweep or revocation in its event is final, so that is how it was); transactions and payouts as they were when the event happened.

One of TransactionEvent, SweepEvent, RevocationEvent, HotWalletEvent, DelegateEvent, TokenEvent, TariffChangedEvent, BalanceLowEvent, BalancePayoutEvent; type tells which.

A transaction of sweeps or revocations was sent, or ended. transaction.sent: a version of it was signed and is being broadcast, the first or a replacement at a higher fee with a new hash; its items are processing. transaction.mined: it is mined and confirmed (3 blocks in Ethereum, 15 in BSC); each item is swept or failed (revoked or failed for revocations). transaction.reverted: it is mined but failed as a whole, its gas spent; transaction.dropped: another transaction took its nonce, nothing was spent. In both, each item is queued, to ride a new transaction with events of its own, or failed if its attempts ran out.

FieldTypeDescription
id requiredstring (uuid)The event’s id, the same in every attempt.
type requiredstringThe event type. One of: transaction.sent, transaction.mined, transaction.reverted, transaction.dropped.
created_at requiredstring (date-time)When the event happened.
data requiredTransactionEventDataThe transaction and what it carried, as they were at the event. A transaction of more than 200 items comes in parts of 200, each with the same transaction: part of parts.

The transaction and what it carried, as they were at the event. A transaction of more than 200 items comes in parts of 200, each with the same transaction: part of parts.

FieldTypeDescription
transaction requiredTransactionHeaderThe transaction as in GET /v1/transactions/{id} at the event and, in transaction.sent, the version.
part requiredintegerWhich part of the event this is, from 1.
parts requiredintegerHow many parts the event has; 1 for every transaction of up to 200 items.
items requiredarray of TransactionSweep | TransactionRevocationThe transaction’s sweeps, or revocations, of this part, by batch_index: TransactionSweep when the transaction’s kind is sweep, TransactionRevocation when it is revocation.
testbooleanPresent and true only in the sample POST /v1/webhook/test sends.

The transaction as in GET /v1/transactions/{id} at the event and, in transaction.sent, the version.

FieldTypeDescription
id requiredinteger (int64)The transaction’s id, as in GET /v1/transactions/{id}; 0 only in the sample POST /v1/webhook/test sends, with test: true.
chain_id requiredChainIDThe chain’s id (EIP-155): 11155111 Sepolia and 97 BSC testnet with a test key, 1 Ethereum and 56 BSC with a live key.
kind requiredstringsweep: a batch of sweeps; revocation: revocations, sent by the gas wallet to itself. One of: sweep, revocation.
status requiredstringpending: sent, and not yet mined and confirmed; it may be replaced at a higher fee, which changes hash. mined: mined and confirmed; each sweep or revocation in it ended on its own, see sweeps or revocations. reverted: mined and confirmed, but it failed as a whole: its gas is spent, and what it carried went back to the queue. dropped: another transaction took its nonce, so it was never mined: nothing was spent, and what it carried went back to the queue. The last three are final. One of: pending, mined, reverted, dropped.
hash requiredTxHashIn transaction.sent, the hash of the version sent; otherwise the mined version’s, or for transaction.dropped the latest version’s. The highest version is the latest attempt, not necessarily the one mined: the mined hash is the one in transaction.mined or transaction.reverted.
block_number requiredinteger | null (int64)The block of the mined version; null while pending and when dropped, and for transactions settled before October 26, 2026.
hot_wallets requiredarray of AddressThe hot wallets a batch sweeps to, in ascending order; empty for revocations.
sweeps requiredobject | nullThe sweeps a batch carried, by how each fared in it; null for revocations. requeued sweeps went back to the queue when the transaction reverted or was dropped: each shows on its own where it went on, in another transaction or failed once its attempts ran out. Those whose attempts ran out when it reverted or was dropped, and that no transaction carried since, count as failed.
sweeps.total requiredinteger
sweeps.processing requiredinteger
sweeps.swept requiredinteger
sweeps.failed requiredinteger
sweeps.requeued requiredinteger
revocations requiredobject | nullThe revocations a transaction carried, by how each fared in it, as for sweeps; null for a batch.
revocations.total requiredinteger
revocations.processing requiredinteger
revocations.revoked requiredinteger
revocations.failed requiredinteger
revocations.requeued requiredinteger
gas_used requiredinteger | null (int64)The gas the mined version used; null while pending and when dropped, and possibly for a transaction that reverted while a version of the service from before October 24, 2026 was running.
gas_cost requiredstring | nullThe same in wei, what your gas wallet paid; null while pending and when dropped.
fees requiredstring | nullThe fees of its swept sweeps, in wei; 0 for revocations. null while pending and when dropped.
created_at requiredstring (date-time)When the transaction was first sent.
mined_at requiredstring | null (date-time)When the service saw it mined and confirmed; null while pending and when dropped.
list_id requiredstring | null (uuid)The sweep list the transaction was sent for, GET /v1/sweep-lists/{id}; null for a batch of sweeps requested alone, and for revocations.
versionintegerOnly in transaction.sent, the version sent, from 1; a replacement at a higher fee is the next.
replacesTxHash | nullOnly in transaction.sent, the hash of the version this one replaces; null for the first.

A sweep of the transaction, as it was at the event. reason comes with failed, and with queued after a revert or a drop; swept_amount, fee and transfer_log_index with swept; log_index with both outcomes of transaction.mined; attempts in transaction.reverted and transaction.dropped.

FieldTypeDescription
id requiredstring (uuid)The sweep’s id, as in GET /v1/sweeps/{id}.
external_id requiredstring | nullYour id for the sweep, null if the request had none.
batch_index requiredintegerThe sweep’s place in that transaction, from 0: the k-th Swept or SweepFailed event of the batch’s contract in its logs is the sweep of batch_index k. The same in every version of the transaction; only with transaction_id. The transaction’s id and batch_index name the sweep’s place for good.
account requiredAddressThe deposit address.
hot_wallet requiredAddressThe hot wallet.
token requiredstringThe listed token’s ticker or the native coin’s; for a token you enabled yourself, its contract address, never the symbol it gives itself.
token_address requiredAddress | nullThe token’s contract address; null for the native coin.
amount requiredAmount | nullThe amount requested; null for the whole balance.
status requiredstringprocessing in transaction.sent; swept or failed in transaction.mined; queued (it will ride a new transaction) or failed (its attempts ran out) in transaction.reverted and transaction.dropped. One of: processing, swept, failed, queued.
reasonstringWhy the sweep ended rejected or failed, or, while it is queued for a retry, why the last attempt did not go through. A stable code: the node’s own messages stay in our logs.

- rejected, a check before sending kept failing, or failed once for an item of a sweep list: not_upgraded (the deposit address is not delegated and the sweep has no authorization), stale_authorization, wrong_delegate (the deposit address runs on a contract that is not a deployed delegate of yours holding hot_wallet, and the sweep has no authorization for one: sign one for a delegate that holds it), would_fail or nothing_to_sweep; or at once, token_disabled: the token was turned off, refused or blocked after the sweep was requested. Every item of a sweep list too heavy for one transaction when it was sent ends rejected with gas_limit_exceeded. - failed on chain, inside a batch that went through: the contract error the transfer reverted with, TokenTransferFailed, NativeTransferFailed, NothingToSweep, Unauthorized or NotAHotWallet, or reverted without one; or transfer_not_confirmed: the transfer reported success, but the token emitted no Transfer event from the deposit address to the hot wallet, so nothing is counted as moved and there is no fee. - The cause of a failed attempt, which is retried, and final with failed once the attempts run out: insufficient_gas_balance (top up the gas wallet), gas_limit_exceeded, transaction_reverted, nonce_conflict, chain_unavailable or internal. One of: not_upgraded, stale_authorization, wrong_delegate, would_fail, nothing_to_sweep, token_disabled, reverted, transfer_not_confirmed, TokenTransferFailed, NativeTransferFailed, NothingToSweep, Unauthorized, NotAHotWallet, insufficient_gas_balance, gas_limit_exceeded, transaction_reverted, nonce_conflict, chain_unavailable, internal.
swept_amountAmountHow much reached the hot wallet; only with swept. For a token, what its Transfer events from the deposit address to the hot wallet in the sweep say, not what the token reported.
feeAmountThe fee in wei; only with swept.
log_indexintegerWhere in the block of the mined transaction the batch contract’s Swept or SweepFailed event of the sweep is; only once the transaction is mined and confirmed, swept or failed. Absent for sweeps settled before October 26, 2026.
transfer_log_indexintegerWhere in that block the token’s Transfer from the deposit address to the hot wallet in the sweep is, the first if there are more; only with swept, and not for the native coin, which has none.
attemptsintegerHow many times the sweep was tried.

A revocation of the transaction, as it was at the event. reason comes with failed, and with queued after a revert or a drop; attempts in transaction.reverted and transaction.dropped.

FieldTypeDescription
id requiredstring (uuid)The revocation’s id, as in GET /v1/revocations/{id}.
external_id requiredstring | nullYour id for the revocation, null if the request had none.
batch_index requiredintegerThe revocation’s place in that transaction’s authorization list, from 0; only with transaction_id.
account requiredAddressThe deposit address.
status requiredstringAs for a sweep, with revoked for swept. One of: processing, revoked, failed, queued.
reasonstringWhy the revocation ended rejected or failed, or, while it is queued for a retry, why the last attempt did not go through. For rejected: not_delegated (there is no delegation to remove), stale_authorization (the deposit address’s nonce has changed) or invalid_authorization. For failed: not_applied (the chain skipped the authorization). The other codes are the causes of a failed attempt, as in a sweep’s reason. One of: not_delegated, stale_authorization, invalid_authorization, not_applied, insufficient_gas_balance, gas_limit_exceeded, transaction_reverted, nonce_conflict, chain_unavailable, internal.
attemptsintegerHow many times the revocation was tried.

A sweep ended before any transaction carried it. sweep.rejected: a check before sending failed; sweep.failed: its attempts ran out before it was sent, for example the gas wallet could not pay. A sweep that rode a transaction ends in that transaction’s event instead.

FieldTypeDescription
id requiredstring (uuid)The event’s id, the same in every attempt.
type requiredstringThe event type. One of: sweep.failed, sweep.rejected.
created_at requiredstring (date-time)When the event happened.
data requiredSweepA sweep and its outcome.

A revocation ended before any transaction carried it. revocation.rejected: it was never sent; revocation.failed: its attempts ran out before it was sent. A revocation that rode a transaction ends in that transaction’s event instead.

FieldTypeDescription
id requiredstring (uuid)The event’s id, the same in every attempt.
type requiredstringThe event type. One of: revocation.failed, revocation.rejected.
created_at requiredstring (date-time)When the event happened.
data requiredRevocationA revocation and its outcome.

A hot wallet’s delegate deployment ended. hot_wallet.active: the delegate is deployed; hot_wallet.failed: the deployment failed.

FieldTypeDescription
id requiredstring (uuid)The event’s id, the same in every attempt.
type requiredstringThe event type. One of: hot_wallet.active, hot_wallet.failed.
created_at requiredstring (date-time)When the event happened.
data requiredHotWalletA hot wallet on one chain and its own delegate, which holds this hot wallet alone.

The deployment of a delegate of a set ended. delegate.active: the delegate is deployed; delegate.failed: the deployment failed. A hot wallet’s own delegate reports with hot_wallet.* events instead.

FieldTypeDescription
id requiredstring (uuid)The event’s id, the same in every attempt.
type requiredstringThe event type. One of: delegate.active, delegate.failed.
created_at requiredstring (date-time)When the event happened.
data requiredDelegateA delegate on one chain: the contract deposit addresses sign their authorizations for, and the fixed set of hot wallets it lets them be swept to.

A token you could sweep is refused now: its sweeps kept failing, it failed the checks again when the service started, or Portuna blocked it. Its sweeps that are still queued are rejected with token_disabled.

FieldTypeDescription
id requiredstring (uuid)The event’s id, the same in every attempt.
type requiredstringThe event type. One of: token.refused.
created_at requiredstring (date-time)When the event happened.
data requiredTokenA token on one chain as your account sees it: a base token (the native coin or one Portuna lists), or one you added yourself.

What you pay for a token changed, or will: a rate Portuna agreed with you was set, taken back, runs out within 7 days or ran out, or a token’s conventional cost changed. A rise of a conventional cost by more than 5% applies 7 days after this event; you are notified 7 days before an agreed rate runs out, and again when it does.

FieldTypeDescription
id requiredstring (uuid)The event’s id, the same in every attempt.
type requiredstringThe event type. One of: tariff.changed.
created_at requiredstring (date-time)When the event happened.
data requiredTariffChangeA change of your tariff on a chain.

A change of your tariff on a chain.

FieldTypeDescription
chain_id requiredChainIDThe chain’s id (EIP-155): 11155111 Sepolia and 97 BSC testnet with a test key, 1 Ethereum and 56 BSC with a live key.
token requiredstring | nullThe token’s address; null for all of your own tokens on the chain.
reason requiredstringnegotiated: an agreed rate was set or taken back; expiring: an agreed rate runs out at effective_at, 7 days from now or sooner, and new_rate_bps applies then, as things stand; expired: an agreed rate ran out; baseline: the token’s conventional cost changed; default: the default rate of your own tokens on the chain changed. One of: negotiated, expiring, expired, baseline, default.
old_rate_bps requiredinteger | nullThe rate before, for a change of the rate.
new_rate_bps requiredinteger | nullThe rate after.
old_conventional_gas requiredinteger | nullThe conventional cost before, for a change of the conventional cost.
new_conventional_gas requiredinteger | nullThe conventional cost after.
effective_at requiredstring (date-time)When the change applies to the batches prepared from then on.

Your gas wallet fell below a low balance threshold. One event each time it falls below; the alert re-arms once the balance recovers.

FieldTypeDescription
id requiredstring (uuid)The event’s id, the same in every attempt.
type requiredstringThe event type. One of: balance.low.
created_at requiredstring (date-time)When the event happened.
data requiredBalanceLowA low balance alert.

A payout of your available balance to one of your hot wallets was sent (status is sent, with its transaction), paid or failed. One event for each of these steps.

FieldTypeDescription
id requiredstring (uuid)The event’s id, the same in every attempt.
type requiredstringThe event type. One of: balance.payout.
created_at requiredstring (date-time)When the event happened.
data requiredPayoutA payout of your gas wallet’s available balance, its balance less the fees due, to one of your hot wallets. Your organization’s owner asks for it in the Portuna console; there is no cap of amount. The fees due are never paid out, and the payout’s gas comes out of the available balance. queued: waiting to be sent, before any other transaction of the gas wallet; sent: its transaction is in flight; paid: mined and confirmed; failed: nothing was paid, see reason.

A low balance alert.

FieldTypeDescription
chain_id requiredChainIDThe chain’s id (EIP-155): 11155111 Sepolia and 97 BSC testnet with a test key, 1 Ethereum and 56 BSC with a live key.
gas_wallet requiredAddressYour gas wallet.
balance requiredAmountIts balance on this chain when the alert fired, in wei.
threshold requiredAmountThe threshold it fell below, in wei.

A payout of your gas wallet’s available balance, its balance less the fees due, to one of your hot wallets. Your organization’s owner asks for it in the Portuna console; there is no cap of amount. The fees due are never paid out, and the payout’s gas comes out of the available balance. queued: waiting to be sent, before any other transaction of the gas wallet; sent: its transaction is in flight; paid: mined and confirmed; failed: nothing was paid, see reason.

FieldTypeDescription
id requiredstring (uuid)
chain_id requiredChainIDThe chain’s id (EIP-155): 11155111 Sepolia and 97 BSC testnet with a test key, 1 Ethereum and 56 BSC with a live key.
to requiredAddressThe hot wallet it pays out to.
amount requiredAmountWhat it sends, in wei. For a payout of all that is available: what was available when it was asked for, the most it sends, until it is sent; then what its transaction sends, which may be less if it had to be replaced at a higher fee.
all requiredbooleanEverything available when it is sent, less its gas.
status requiredstringOne of: queued, sent, paid, failed.
reason requiredstring | nullWhy a payout failed: insufficient_available, the gas wallet had less available than it asked when it was sent; nothing_available, nothing was available to pay out; signer_refused, the signing service refused it; transaction_reverted, its transaction failed on chain and only its gas was spent; nonce_conflict, another transaction took its place; not_sent, the chain did not take it after a few tries; cancelled, it was stuck and was replaced with a transfer of nothing to your gas wallet, because the chain’s fees rose past what was available beside the fees due or payouts were stopped, and only that transfer’s gas was spent; hot_wallet_gas, a transfer to the hot wallet takes more than 100,000 gas. null unless failed. One of: insufficient_available, nothing_available, signer_refused, transaction_reverted, nonce_conflict, not_sent, cancelled, hot_wallet_gas, null.
tx_hash requiredstring | nullIts transaction, once sent; the mined one once paid.
gas_cost requiredstring | nullThe gas of its transaction, in wei, once mined.
requested_by requiredstring | nullThe Portuna console’s id of the user who asked for it, your organization’s owner.
created_at requiredstring (date-time)
sent_at requiredstring | null (date-time)
settled_at requiredstring | null (date-time)When it was paid or failed.