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!

1 Like

Hello @Kirushka and welcome to our Infura community.

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

Please let me know how that works for you.

1 Like

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.

request:
https://drive.google.com/file/d/11hlqN8OvLRhljqXk4GIjCvedOiT3PGB8/view?usp=sharing

but:
https://drive.google.com/file/d/10RJbg6m8cTOo46g_Ct8tfhqBYoxsBVJd/view?usp=sharing

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.

1 Like