Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
28 views

Web3py and Uniswap issue, transacction reverted

import json from web3 import Web3 # Set up your connection to Ethereum infura_url = 'https://sepolia.infura.io/v3/apikey' web3 = Web3(Web3.HTTPProvider(infura_url)) if not web3.is_connected(): ...
ander torregrosa's user avatar
1 vote
1 answer
71 views

How to know why Uniswap cancelled my transaction?

I am not pro, but can someone check please why my transaction was cancelled on Ethereum after sending to Swap token on Uniswap v2? https://etherscan.io/tx/...
sirjay's user avatar
  • 103
2 votes
1 answer
997 views

Web3Py 'TRANSFER_FROM_FAILED' error when executing a swap even if tokens spending have been approved

I tried to execute a swap using Web3py with the following function: def swap(node, account_address, pvt_key, contract_address, contract_abi, action_type, amount_in, amount_out_min): #load USDC and ...
giacomomaraglino's user avatar
1 vote
0 answers
370 views

web3py - get transaction result

I'm trying to parse the following UniswapV3 transaction in Python using web3: https://etherscan.io/tx/0x086d2ae22b7ba31245c842060f7e94b61b922795ca3b3fbff326ba63db00060a Etherscan shows as Transaction ...
user79787's user avatar