Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on May 3, 2024. It is now read-only.
This repository was archived by the owner on May 3, 2024. It is now read-only.

the method has been deprecated: eth_accounts #135

@buvanenko

Description

@buvanenko

File "/root/auth/server/app.py", line 57, in authenticate
balance = contract.erc721.balance_of(address)
File "/root/auth/server/venv/lib/python3.10/site-packages/thirdweb/core/classes/erc_721.py", line 277, in balance_of
return self._contract_wrapper._contract_abi.balance_of.call(address)
File "/root/auth/server/venv/lib/python3.10/site-packages/thirdweb/abi/token_erc721.py", line 256, in call
tx_params = super().normalize_tx_params(tx_params)
File "/root/auth/server/venv/lib/python3.10/site-packages/zero_ex/contract_wrappers/bases.py", line 79, in normalize_tx_params
if len(self._web3_eth.accounts) > 0
File "/root/auth/server/venv/lib/python3.10/site-packages/web3/eth.py", line 574, in accounts
return self._get_accounts()
File "/root/auth/server/venv/lib/python3.10/site-packages/web3/module.py", line 57, in caller
result = w3.manager.request_blocking(method_str,
File "/root/auth/server/venv/lib/python3.10/site-packages/web3/manager.py", line 198, in request_blocking
return self.formatted_response(response,
File "/root/auth/server/venv/lib/python3.10/site-packages/web3/manager.py", line 171, in formatted_response
raise ValueError(response["error"])
ValueError: {'code': -32000, 'message': 'the method has been deprecated: eth_accounts'}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions