read_json_rpc_url

Documentation for eth_defi.provider.env.read_json_rpc_url function.

read_json_rpc_url(chain)

Read JSON-RPC URL from environment variable based on the chain id.

Raises

ValueError – If the environment variable is not set for the given chain.

Parameters

chain (int) –

Return type

str