Arbitrum client

Arbitrum client

class xchainpy2_arbitrum.arb_client.ArbitrumClient(network=NetworkType.MAINNET, phrase: str | None = None, private_key: str | bytes | callable | None = None, root_derivation_paths: Dict[NetworkType, str] | None = None, explorer_providers=None, wallet_index=0, provider: str | BaseProvider | None = None, extra_data_provider: EVMDataProvider | None = None, **kwargs)

Bases: EthereumClient

Arbitrum constants

xchainpy2_arbitrum.consts.ARB_CHAIN_ID = {NetworkType.MAINNET: 42161, NetworkType.STAGENET: 42161, NetworkType.TESTNET: 421614}

Arbitrum ETH decimals.

xchainpy2_arbitrum.consts.ARB_DECIMALS = 18

Default Arbitrum fee bounds, protection against incorrectly set gas

xchainpy2_arbitrum.consts.ARB_MAINNET_EXPLORER = ('https://arbiscan.io/', 'https://arbiscan.io/address/{address}', 'https://arbiscan.io/tx/{tx_id}')

Explorer providers for the Arbitrum testnet.

xchainpy2_arbitrum.consts.ARB_TESTNET_EXPLORER = ('https://sepolia.arbiscan.io/', 'https://sepolia.arbiscan.io/address/{address}', 'https://sepolia.arbiscan.io/tx/{tx_id}')

Default explorer providers for the Arbitrum network.

xchainpy2_arbitrum.consts.ARB_TOKEN_LIST = '/home/docs/checkouts/readthedocs.org/user_builds/xchainpy2/checkouts/develop/packages/xchainpy_arbitrum/xchainpy2_arbitrum/data/arb_mainnet_latest.json'

Arbitrum ERC20 Token List Source: CoinGecko

xchainpy2_arbitrum.consts.DEFAULT_ARB_EXPLORER_PROVIDERS = {NetworkType.MAINNET: ('https://arbiscan.io/', 'https://arbiscan.io/address/{address}', 'https://arbiscan.io/tx/{tx_id}'), NetworkType.STAGENET: ('https://arbiscan.io/', 'https://arbiscan.io/address/{address}', 'https://arbiscan.io/tx/{tx_id}'), NetworkType.TESTNET: ('https://sepolia.arbiscan.io/', 'https://sepolia.arbiscan.io/address/{address}', 'https://sepolia.arbiscan.io/tx/{tx_id}')}

Arbitrum chain IDs.