2024-12-01 23:53:12 +03:00

13 lines
230 B
Python

DEFAULT_HTTP_TIMEOUT = 30.0
def construct_user_agent(
module: str,
class_name: str,
) -> str:
from web3 import (
__version__ as web3_version,
)
return f"web3.py/{web3_version}/{module}.{class_name}"