Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
426 views

Retrieve sender public key from ethereum transactions

I have tried using the eth_account library but it doesnt work on newer transactions (type 0x02 transactions). What is a method of retrieval that would work on those transactions? from eth_account....
1 vote
1 answer
2k views

ERC20 tokens transactions' history from Ethereum node

I have a parity node. I developed a web3.js interface on top of it. I have APIs whose job is to fetch addresses' balances and transactions. Example response of transaction API: { tx_hash: '...
9 votes
2 answers
409 views

Receive deployed contract address by transaction hash with JSON-RPC request

I want to receive deployed contract address by transaction hash. Transcation example - 0x996a683acd59a2ad17461f76ce0f387a89a5ac257ec5d667556219c6acc7f45a. As you can see this contract was deployed by ...
1 vote
3 answers
672 views

Transaction receiving ether from a contract address

Are transactions sending ether from contract addresses to normal addresses listed in block.transactions or are they not trivial to detect? If not in block.transactions than how to detect?
1 vote
2 answers
518 views

A quick way to check if there are transactions at an address

I need to frequently check a large number of addresses for transactions on them (i.e. whether the address is active) and do it as quickly as possible. I plan to download a dump of addresses with ...
0 votes
0 answers
18 views

Etherscan.io Verification Addresses

It's taking me a long time to verify addresses on Etherscan.io Can someone give me a solution for verifying contract addresses?
1 vote
1 answer
120 views

fetching address label from transaction info

while fetching transaction JSON for the given address, I want to fetch the address label associated with the address, for example, here's an example of how Moralis streams provide it for EVM chains, {...
1 vote
1 answer
301 views

Byte32 error, even after converting string to hex

I looked everywhere for people with similar problems, but I couldn't find anything. I am confused why I keep getting this error (yes, I know others have had this error too, but not for the same ...
1 vote
0 answers
45 views

Nethereum listen to an event after send transaction

Solidity code for creating a new contract calling createRainfallPolicy: event PolicyCreated(address _policy, string _insuredId); function createRainfallPolicy(/*Params*/) public { RainfallPolicy ...
4 votes
3 answers
6k views

The same wallet address on the Mainnet Ethereum network and on the Polygon network. Are these two different wallets with two different owners?

I want to transfer some matic (Polygon network) to an Ethereum wallet address I know. But I don't know the address of this wallet on the Polygon network, I know its address on the Ethereum Mainnet. ...
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 ...
0 votes
0 answers
187 views

Checking for a transaction on a large number of bsc addresses

I need to frequently check a large number of addresses for transactions on the bsc network (at least a thousand per second), what is the best way to do this? The only solution I know of is to run my ...
1 vote
1 answer
1k views

Checking new transactions for a specific wallet using Web3py

I am trying to make a piece of code that scans a wallet for new transactions. When a new transaction is detected my code should print the transaction hash. I looked online and saw stuff about the ...
0 votes
1 answer
566 views

Transaction works or fails depending on the destination address

I was trying to make a deal with another user and he sent me this address: 0xb1f4c727afa220eec5d218399eb443662ab2610e But when I tried to do the transfer I received this error TypeError: Transaction ...
1 vote
0 answers
104 views

Why is the TransactionByHash function in the go-ethereum client unable to return the sender?

I learned how to get the sender's address from this question. JSON-RPC returns a result with a from field, which we can unmarshal in our struct. But I'm curious why go-ethereum didn't return ...
0 votes
1 answer
34 views

Transactions with my contract are older than the contract itself

I have recently started my blockchain development journey and I can't seem to find an answer to my question. I have deployed a new contract (the same way as I did a few before) on 19.09.2022 13:25 yet ...
1 vote
1 answer
145 views

How to prove that a certain payment has been made by a certain user?

I have a website in the beta stage, on which users will be able to pay by crypto. Out of simplicity and for now, I want to use a single address and verify the payments manually because there won't be ...
4 votes
3 answers
3k views

Simple way to find the exact address / transaction by the part of the address / transaction hash?

Imagine I have only a part of the address, for example, 0xa2793n. The rest of the address is unknown. Is there any indexer, that stores this information in any suitable format, so I can find the list ...
0 votes
1 answer
504 views

Why is the method in receive() external payable{this.withdraw Funds();} not called in Solidity?

I wrote a smart contract that, when receiving money to my address, should automatically transfer 50% to the 1st wallet address, 25% to the second, 25% to the third. For some reason it doesn't do it ...
0 votes
0 answers
45 views

How to make it so that when money comes to the Metamask wallet, they are automatically redirected to this smart contract? [duplicate]

I wrote a smart contract on Solidity, which, when receiving money to its address, redirects 50% to the first wallet, 25% to the second wallet. How to make it so that when money comes to the Metamask ...
1 vote
1 answer
760 views

How to transfer ethers from a contract to another SPECIFIC address?

I want to write a smart contract that, when receiving money, transfers 50% to a specific address of the first wallet (0x583031D1113aD414F02576BD6afaBfb302140225) and transfers 25% to a specific ...
0 votes
1 answer
26 views

I am trying to write a smart contract for a defy-Bank as a project. i can't figure out why hasTransfered() function not getting executed?

Smart contract code: // SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.7.0 <0.9.0; contract AddressWallets { // variables address owner; uint funds; bool transferFund; ...
3 votes
1 answer
496 views

Create Accounts Using Web3.js in Browser

TL;DR - Replicated Ethereum Blockchain. Running Local Node. Connecting Local Node to Web3.js in browser using RPC. Want to create addresses & send transactions Details - I have a blockchain that ...
1 vote
1 answer
220 views

I don't know where my Ethereum went, or what wallet I created... how can i transfer it to a new wallet?

Going back a few years I made a purchase that is visible in Etherscan. But I am clueless as to where it went, what I bought or where it is now? All I've realised is that I'm as naieve now as I was ...
6 votes
4 answers
37k views

How to transfer Ether between accounts in Solidity?

I'd like get ether balance of account in solidity. I tried the following, but it didn't work. Could you tell me how to do it? contract MultiplyContract{ address public buyer; address public ...
1 vote
1 answer
375 views

How msg.sender address gets generated in smartcontract?

msg.sender (address): the sender of the message (current call). Considering a scenario where a user uses a smart contract and try to perform a transaction. For that particular user msg.sender is the ...
2 votes
1 answer
1k views

How to encode empty transaction fields?

I want to RLP-encode a(n unsigned) transaction. Some fields of the transaction can be empty/null/zero. I want to know how they are encoded, though. Let's assume the following transaction fields: ...
0 votes
1 answer
319 views

I sent a token to a contract address by mistake. can I recover, and how to recover if I can

I sent some CryptoPunk Tokens to it's contract address, while I was traying to move it to my trust wallet from coinbase wallet. Here is the details of the transaction https://etherscan.io/tx/...
0 votes
1 answer
329 views

What is and where to see in transaction in Etherscan the fields result.contractAddress and result.confirmations in API?

When I download data from a contract using API there are 2 fields that i cannot understand in which part of transaction in Etherscan are these numbers and maybe give me the definition of those fields: ...
7 votes
1 answer
4k views

Generating multiple deposite address for one account

I want to create something like a Crypto exchange, in which I need to generate different unique deposit addresses for each user, so they can send funds to their accounts while I can keep track of how ...
0 votes
1 answer
59 views

Someone sent me .69 eth from a coinbase account. Should I be concerned? [closed]

Im noobish tbh, should I move everything to a hardware wallet? Should I move the eth out of the act so they cant take anything? Im sure I couldve been hacked somehow and someone got my keys. Any ideas?...
0 votes
1 answer
121 views

Handing over an address in solidity an saving it

pragma solidity 0.5.1; contract WissenschaftlicheArbeit { string titel; string autor; string pfad; string hashcode; bool isSignt = false; address adresseDesPruefers; ...
0 votes
1 answer
589 views

Quorum transaction not mined and no address

I am running a private Quorum chain consisting of 3 nodes with raft consensus. When I deploy a contract to the chain via web3 I get returned a hash and can then look up the transaction with the local ...
1 vote
1 answer
117 views

How can a customer prove me that he owns a certain address and made a certain transaction?

In my e-shops there may be situations when a customer sent me coins but forgot to add secret order pin code in the memo. In such cases he'd contact me via email and claim that a certain transaction ...
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
2 votes
1 answer
629 views

Cancelled Transaction in MetaMask USDC leads to loss of funds

I had attempted to transfer 992 USDC from MetaMask to a Ledger Account but had decided to cancel the transaction. On cancelling, MetaMask reports that the cancellation succeeded, but my MetaMask USDC ...
8 votes
3 answers
5k views

Why are there no change addresses?

What's the concept behind ethereum transactions that allows them not to require change addresses? What's the underlying difference compared to - for example - bitcoin?
2 votes
1 answer
631 views

How is it possible for Centre and the like to blacklist Ethereum addresses when they themselves are not miners/validators?

There is no shortage of the news on stablecoin censorship, in particular blacklisting of Ethereum addresses: Tether has been blacklisting Ethereum addresses that hold USDT for a couple of years now—...
1 vote
0 answers
98 views

Recover Lost Funds from Botched ETH Deposit Without Access to Private Keys?

I'm using the wei approach (4 right-most zeros) as a marker to track user deposits on my site. In short, every user on the site is told to append a custom amount of "wei" to every deposit ...
1 vote
1 answer
231 views

How do I retrieve funds sent to wrong address that doesn’t exist [duplicate]

I sent some funds to my MEW wallet but I fat fingered the address and sent it to a different address that does not seem to exist. How do I claim that address to retrieve funds I see sitting in the ...
0 votes
1 answer
42 views

any 3rd party service that can get all transaction?

3rd party service recommended have any 3rd party service that can get all transaction of address? because from my research the web3 cant get the full transaction by account.
4 votes
1 answer
4k views

Uniswap v2 pair before liquidity add

I have a token contract and I want to add liquidity to Uniswap (mytoken + ETH). Before that, I would like to know the pair address in order to set it in my contract. Is it possible to create a pair on ...
14 votes
1 answer
21k views

how to get list of transactions history about specific contract address using web3?

I really don't know how to get a list of transactions history about specific contract address using web3.py and I use Infura HTTPProvider I just have only one 'contract address'. Can i get information ...
1 vote
1 answer
869 views

Is creating new account per unique user OK in Ethereum?

When using Bitcoin one can generate new address per user of service and save pair (address -> userId), so it is always obvious which specific user sent coins. Also, all these coins are stored in the ...
1 vote
1 answer
237 views

how to be notified about incoming transactions instantly?

I'm creating a platform which users are able to receive ETH on their own wallets (addresses). They will give the addresses to others, but the question is how can I be notified that new transactions ...
0 votes
1 answer
755 views

How can a Smart Contract pull an amount of Ether equal to its own balance from an External Account?

I'm writing a 2 Player Game. Rules: Player 1 must place a bet (and send some ether to the contract). Then, Player 2 must match the bet placed by Player 1, and send the same exact amount of ether to ...
1 vote
1 answer
529 views

eth_getLogs was only return erc20 tokens

i have used below command to get every logs on the special blocks but its only return erc20 token logs and ethereum transactions was not listed. my geth command: curl --data '{"method":"eth_getLogs",...
0 votes
0 answers
126 views

if "address public x = tx.origin", why does "require (tx.origin == x") work and "require (tx.origin==tx.origin) not

Below is a contract that i have commented on, hoping to understand the logic of the arguments. Below in bold is the question in question. The .sol currently works fine. pragma solidity ^0.5.11; ...
4 votes
4 answers
244 views

Find source of funds

Is there an automated way to discover the source of funds that were sent to a specific address? Theory: The EOS team releases 2m EOS tokens every 23 hours. See https://eos.io/instructions for more ...
0 votes
0 answers
253 views

Transaction posted in “internal transactions” how do I add it to my wallet?

I transferred ETH from bitbuy to my ledger without realizing ledger did not support contracts. The transaction is posted on ether scan in internal transactions. I’ve contacted bitbuy and ledger both ...