Network Module

Network module handles blockchain network metadata accessing.

10.1 Info

Get general network info.

Function Name

info
  • Example Code

    from crypto_com_developer_platform_client import Network
    
    data = Network.info()
    print(data)

10.2 Chain ID

Get the current chain ID.

Function Name

chain_id
  • Example Code

    from crypto_com_developer_platform_client import Network
    
    chainId = Network.chain_id()
    print(chainId)

10.3 Client Version

Get the connected node's client version.

Function Name

client_version
  • Example Code

    from crypto_com_developer_platform_client import Network
    
    version = Network.client_version()
    print(version)

Last updated

Was this helpful?