Send ERC20 tokens use Web3 Py

Hello. How can I send ERC 20 tokens use Web 3 Py? All examples in internet with Web Js, but they does’t help me. I will be very grateful for your advice or examples!

Hello @Kirushka and welcome to our Infura community.

You may find the following thread useful → Working with Local Private Keys — 5.27.0 documentation

Please let me know how that works for you.

I almost succeeded, but there was a problem. I am trying to transfer tokens in the Polygon network, the request is being processed correctly, but it ends in failure.



If you look at the successful transfer of this token, then the Txn Type will be 2 (EIP-1559), to my request it has 0 (Legacy). Please tell me how to change the Txt Type.