Arbitrum One
Pronto para usar isso em produção?
O plano gratuito cobre projetos pessoais. O pay-as-you-go escala sem cartão de crédito.
Arbitrum One
O plano gratuito cobre projetos pessoais. O pay-as-you-go escala sem cartão de crédito.
Block timestamps are how Arbitrum One smart contracts answer "what time is it" — vesting schedules, auction deadlines, staking lockups, and TWAP windows on protocols like Uniswap and GMX all read block.timestamp to make decisions, and off-chain indexers use the same field to order and chart on-chain events. But on a Nitro rollup the timestamp is assigned by the sequencer, not by a decentralized set of miners, and it is bounded against Ethereum L1 time rather than being a precise wall clock, so treating it as exact will eventually burn you. This guide is for smart contract and backend developers: it explains how Arbitrum One timestamps are set, what accuracy you can and cannot rely on, how drift against L1 shows up, and how to write time-based logic that stays correct against https://arbitrum.therpc.io/YOUR_API_KEY.
timestamp as it orders transactions. There is no PoW miner or validator set racing to propose blocks, so the timestamp reflects the sequencer's clock, constrained by the rollup's relationship to Ethereum L1 time.block.timestamp and true wall-clock or Ethereum L1 time. On Arbitrum One it manifests as the L2 clock leading or lagging L1 slightly before reconciling, which matters most for cross-chain logic that compares an Arbitrum One timestamp against an Ethereum mainnet timestamp.>=, <= with margin) rather than exact matches.