A token bridge checks each transfer against a per-transaction range and the capacity left in its daily bucket. To plan a large transfer, you need the limits on the sending chain, the execution limits on the receiving chain, and the time each chain starts a new day.
A lock-and-mint bridge locks assets on the source chain and mints a representation on the destination chain. Gnosis Bridge connects Ethereum and Gnosis Chain; its Omnibridge route uses mediator contracts on both sides to process token transfers and enforce limits.
On the source side, minPerTx is the smallest accepted transfer, maxPerTx is the largest, and dailyLimit caps the token amount sent during one contract day. A transfer outside the per-transaction range, or one that would take the day’s total above its limit, reverts. The limits are set per token, so a figure for one asset tells you nothing about another.
How Do You Calculate the Capacity Left Today?
The source mediator’s remaining capacity is dailyLimit(token) − totalSpentPerDay(token, getCurrentDay()). The first value is the allowed total; the second is the amount already sent in the current day. Contract calls return amounts in the token’s smallest denomination. For a token with six decimals, divide a returned amount by 1,000,000 to read it as whole tokens.
The detail that changes transfer planning is getCurrentDay(). The contract calculates it as block.timestamp / 86400, using whole-number division. Each bucket therefore runs from 00:00 UTC to the next 00:00 UTC. It is a fixed calendar-day bucket, not a rolling 24 hours measured from your last transfer. The Gnosis Chain Omnibridge documentation describes the same timestamp-based day calculation.
That reset applies to the counter, not to the per-transaction maximum. At 00:00 UTC, a fresh daily allowance becomes available, but a transfer above maxPerTx still needs splitting. Other users can consume that fresh allowance before your transaction lands.
The receiving mediator has separate executionDailyLimit and executionMaxPerTx settings. Its daily counter is totalExecutedPerDay, so destination capacity is executionDailyLimit minus that counter for the destination’s current day. A source transfer can fit the deposit limits yet exceed what the destination can execute. Each chain checks its own block timestamp when it processes its part of the transfer; a message sent shortly before midnight may execute in the next day’s bucket.
Take an illustrative transfer of 500 tokens, with fees left out of the arithmetic. Suppose the source dailyLimit is 1,000 tokens and totalSpentPerDay is 650: 1,000 − 650 = 350 tokens remain today. Source minPerTx is 10 and maxPerTx is 300. A single 500-token deposit exceeds maxPerTx, while even a 300-token deposit would leave only 50 tokens of source capacity today.
Now suppose the destination executionDailyLimit is 800 tokens and totalExecutedPerDay is 550: 800 − 550 = 250 tokens remain for execution today. Its executionMaxPerTx is 200. The practical schedule is 200 tokens and 50 tokens today, then 200 and 50 after the UTC reset, provided both sides still have that room when the transactions execute. Today’s two deposits total 250, bringing source usage to 900; the matching executions bring destination usage to exactly 800. Each deposit clears the 10-token minimum, and each execution stays at or below 200.
Those numbers are a plan, not a reservation. Before each deposit, read the current counters again. If someone else has used 60 tokens of destination capacity, today’s proposed 200-plus-50 execution no longer fits. You could reduce today’s amount while respecting minPerTx, or wait until 00:00 UTC. Waiting avoids sending a message that the destination cannot process within its present limits.
For Gnosis Bridge’s Omnibridge route, open the source mediator contract on Etherscan or GnosisScan and use Read as Proxy. Enter the token’s address into minPerTx, maxPerTx and dailyLimit; call getCurrentDay, then use its result with the token address in totalSpentPerDay. On the destination mediator, read executionMaxPerTx, executionDailyLimit and totalExecutedPerDay. Use the token address relevant to that chain. The Gnosis Chain documentation’s Bridges section identifies the Omnibridge and xDai Bridge contracts; xDai Bridge is a separate bridge with its own limits.
These caps trade transfer speed for bounded throughput. They restrict how much the ordinary bridge path can move during a day if validators are compromised or a contract incident occurs, giving governors time to respond. For you, that can mean more transactions, more fees and a wait across midnight. The protection matters most when the amount held or released by the bridge is large; the scheduling cost matters most when you need immediate settlement.
Related Questions
Why Did My Bridge Transaction Revert With No Error?
A bridge transaction can revert without a useful displayed reason when its amount falls below minPerTx, exceeds maxPerTx, or would push totalSpentPerDay above dailyLimit. Compare the amount in base units with the source mediator’s current values and transaction receipt. If the source transaction succeeded but the destination transfer has not completed, inspect the message’s destination status and execution limits instead of treating it as a source-side revert.
Can Bridge Limits Change Without Notice?
Bridge limits can change when governance updates the mediator’s settings for a token. Gnosis Bridge governance can adjust deposit and execution limits on either side, so an earlier screenshot or quote may be stale. Read both contracts again shortly before a large transfer, especially when your amount is close to a cap.
Do Liquidity Bridges Have Limits?
Liquidity routes have practical limits set by available pool depth, quoted price and route capacity. Aggregators such as Jumper or Bungee may offer those routes, where a large order can receive a worse quote or no usable quote. If an aggregator selects a canonical bridge route, that underlying bridge’s contract limits still apply. Inspect the actual route before comparing its capacity with Omnibridge’s daily allowance.
The deciding number is the smaller amount that the source can send and the destination can execute, subject to both per-transaction caps. Read it on-chain, account for the 00:00 UTC reset, and split or schedule the transfer accordingly.