Skip to main content

All Questions

Tagged with
26 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
0 answers
77 views

How to create a "Transaction history" part of a Wallet App?

guys! Right now I am working on web3 project, which has a wallet as it's one parts. Can you give me advices on how to create this Transaction History for user, because I am kind of stuck on it. First ...
Kind_Man's user avatar
2 votes
0 answers
50 views

Can i append the ethereum transaction's data input when generating a QR Code? Is there a better way to track transactions?

My application manages sales with local payment methods and Ethereum/Bitcoin. When using crypto payments a QR Code will be displayed for the customer, with the wallet's address and amount. The issue I'...
andrepz's user avatar
  • 121
2 votes
0 answers
69 views

Get addresses of transfers from transactions Web3Py

I am facing issue while trying to retreive data from Goerli (basically, Ethereum). I am trying to fetch transaction from this contract. For every transaction it creates a new airdrop by creating a new ...
giacomomaraglino's user avatar
2 votes
2 answers
2k views

How can I find the block where a user enacted a certain event on a contract?

I'm trying to build a web3.py program to take in a given user's address, and return the amount of ETH traded since they added liquidity to a Uniswap exchange. Uniswap is a smart contract on the ...
cube's user avatar
  • 21
1 vote
0 answers
480 views

Getting Error with EIP1559 style transaction: "unrecognized fields: {'maxFeePerGas', 'maxPriorityFeePerGas'}"

I wanted to sign and send a transaction interacting with a smart contract. This is the tx: Tx = ID.functions.withdraw(50000000000, '0x....').buildTransaction( { 'chainId': 1, 'gas': 410000,...
Buuu Axie'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
1 vote
0 answers
151 views

How to get external transaction using python

I am trying to test their code in order to detect the Ponzi smart contracts. When I run their code following error occurred to get the external transactions. Here is their code ; for addr in ponzi: ...
Amir Ali's user avatar
  • 447
1 vote
0 answers
271 views

decode a transaction receipt which does not have an event log

Is there a way to decode a transaction receipt which does not have an event log? In the case of an event log we have topics which we can decode, but what about the case when an event isn't triggered ...
mzaidi's user avatar
  • 1,012
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
0 votes
1 answer
83 views

Is there Uniswap V2/V3 function to get initial token supply amount in pool?

I need to get initial token supply when liquidity pool was created by querying Ethereum node (RPC) or Uniswap contract and not Mint() function, is it possible to do (python)? To get reserves on any ...
sirjay's user avatar
  • 103
0 votes
1 answer
43 views

Etherscans ABI and transaction receipt topic[0] are different. Bug?

I need simply to get Transfer data values from transaction with 1 log https://etherscan.io/tx/0x6465187a7bb43a6db42ee63e5f5cc30fb094393957a7f1ce6c08b5afddf3e0bc. It sends +7,601.747 LINK. The problem ...
sirjay's user avatar
  • 103
0 votes
0 answers
64 views

Etherscan API doesn't return internal transaction (although it has)

Here is transaction https://etherscan.io/tx/0x33e0dab83aa27ba8b2a08b3c69d61a34911a4adb6e7a35dd30cf11383f43fcc3 with simple Transfer() some GALA tokens. Etherscan shows 1 internal transaction: But it'...
sirjay's user avatar
  • 103
0 votes
1 answer
67 views

Why Etherscan's API missing ABI functions?

Here is transaction https://etherscan.io/tx/0x0db6f8036ca7ea58bf4a8799bbf62bb30e3431d644d37d4030c27ac0d22f7542#eventlog In logs we can see 3rd function SendToInjectiveEvent(). It is interaction with ...
sirjay's user avatar
  • 103
0 votes
0 answers
413 views

How do I fetch the entire transaction-history of an address in the fastest way possible?

I just built myself a hardware full node at home. It's running geth and I'm accessing the on-chain data through the JSON RPC API. I'm using web3.py because of convenience. I want to have a "...
PeepoXBT's user avatar
0 votes
1 answer
230 views

Why is WETH balance of an address is wrong on hardhat fork?

I have forked mainnet with hardhart with below command: npx hardhat node --fork http://127.0.0.1:8545 --port 8546 When I get the balance of 0xbd497b28d443a5345674fef37c50d8fd68e7bd94, it shows it ...
Tugay's user avatar
  • 125
0 votes
1 answer
411 views

Conversion from Wei to Ether gives different results

I'm trying to analyze the transaction of this contract, but sometimes when I try to convert from wei to ether value of tokens I got comma in different position than expected. This is how I proceed: 1)...
giacomomaraglino's user avatar
0 votes
1 answer
218 views

Get contract address and total holders from a hash transaction

I would like to know if it is possible just from a transaction hash (like this one: '0x98daf5eb1fe55d9ebed51b1ee0b7dcb3bfe04ea5bb0663d40927a683771cdc09') to be able to retrieve the contract address of ...
Mudan Elber's user avatar
0 votes
0 answers
103 views

is it really necessary to use the public key to send erc20 tokens?

It is evident that the private key is the fundamental piece of everything, for that reason I wonder, why we need to include the public key in the transactions, why does the private key not do the ...
frank stone's user avatar
0 votes
1 answer
668 views

Sending transactions to smart contract every 3 seconds

I have been trying to solve this issue for a while now and would really appreciate any help i can get. i am essentially trying to create a loop that doesnt stop after one succesful tx. End goal is to ...
user84407's user avatar
0 votes
0 answers
590 views

What's the best way to get transactions for an address using web3.py?

I'm trying to write a script that will use a public Ethereum address and get a list of all the transaction hashes. I'm using web3.py but the methods I see for getting transaction information use the ...
DBWeinstein's user avatar
0 votes
0 answers
72 views

How to send ethers to specific address based on solidity contract but not web3py?

I have written a solidity code, running it on Remix and I use ganache and web3py library to interact with it. My code is something like this: contract simplePayment{ function sendPayment(...
Yash Madhwal's user avatar
0 votes
0 answers
777 views

How to manually interpret balance change after custom Events using web3.py

Context I am trying to build my own Ethereum explorer. I know this already exists on Etherscan out-of-the-box but the features that I want are either rate-limited or not even provided via its API. To ...
pcko1's user avatar
  • 145
0 votes
0 answers
3k views

requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=7545): Max retries exceeded with url

I created a blockchain app using Ethereum, I downloaded a virtual box. I activated the smart contract on the virtual box and connected it to the Python file on the original device. When the ...
esraa's user avatar
  • 7
0 votes
0 answers
327 views

"TxRejectedError" Using Ganache with Web3

I am having trouble sending my transaction Using Ganache. I am showing the logic that creates and sends the transaction and it says it cant be found or it is rejected don;t really know what the error ...
Choppa200's user avatar
0 votes
0 answers
881 views

Using web3.py to send a 0 price gas erc20 transaction

Sorry about the formatting, I’m on mobile I'm trying to push an ERC20 Token transaction with 0 gas price using web3.py. Although when I set the gas price to 0, I receive the following error: {'code':...
manilpwn's user avatar
0 votes
1 answer
80 views

How can I implement redactable chain for ETH?

I am trying to research about Redactable blockchain so my question is how can I implement a Redactable chain in Eth if someone has some idea about it I will be thankful
Arij's user avatar
  • 1