tradingstrategy-ai / web3-ethereum-defi

A Python library for trading automation on DeFi, data research and integration. Supporting Uniswap, Aave, Chainlink, USDC and other protocols.
https://tradingstrategy.ai
MIT License
591 stars 127 forks source link

ValueError: {'code': -32000, 'message': 'the method eth_sendTransaction does not exist/is not available'} #142

Closed Elhorses closed 10 months ago

Elhorses commented 1 year ago

I get this error: ValueError: {'code': -32000, 'message': 'the method eth_sendTransaction does not exist/is not available'}, when I using fuction estimate_token_taxes()

miohtama commented 10 months ago

Thank you @Elhorses. Estimate token taxes works only on Anvil, not a normal node. Please refer to the unit tests for further information.