Skip to main content
Chain helpers internal library

ARBITRUM_MAINNET

ARBITRUM_SEPOLIA

POLYGON_MAINNET

TESTNET

Overflow

getBlockNumber

Returns the current block number (l2 block for arbitrum)

getUint48BlockNumber

Returns blockNumber converted to uint48

Parameters

getWrappedNativeToken

Returns the wrapped native token address for the current chain

isWrappedNativeToken

Returns whether a token is the wrapped native token for the current chain

Parameters