Network Module
10.1 Info
infofrom crypto_com_developer_platform_client import Network data = Network.info() print(data)
Network metadata.ValueError: If the Network class is not initialized with a Client instance.{'status': 'Success', 'data': {'name': 'example-name', 'chainId': 'example-chain-id'}}
10.2 Chain ID
chain_idfrom crypto_com_developer_platform_client import Network chainId = Network.chain_id() print(chainId)
Chain ID value.ValueError: If the Network class is not initialized with a Client instance.{'status': 'Success', 'data': {'chainId': 'example-chain-id'}}
Last updated
Was this helpful?