Questions tagged [ether]

Ether (ETH) is the main internal crypto-fuel of Ethereum and is used to pay transaction fees.

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

Forking Swap from bsc on goerli, max input of native token 0

I'm trying to fork cheeseswap from bsc onto goerli. I've also tried to fork another swap from another network onto goerli and have the same issue. I Change all the chainid numbers, rpcs, factory, ...
Bobo From Florida's user avatar
0 votes
0 answers
18 views

Lost funds via phishing/approval. Please help

It appears that ~0.137 ETH was automatically sent from my address to "Fake_Phishing188250" via a "Claim" transaction (...
Paulmuadib's user avatar
0 votes
0 answers
27 views

Recover ETH in Smart Contract [duplicate]

I'm reaching out to you because I think I've been scammed. I watched a video (https://www.youtube.com/watch?v=vv5l9VIBF1o) on YouTube that claimed to show how to set up a bot to earn ETH. So, I ...
Robin Borne's user avatar
0 votes
0 answers
16 views

No gas for swap in matic

How to swap WETH(POLYGON) or ETH(ETHERIUM) to MATIC with empty balance on polygon (no money for gas in matic). Current gas fee 30 usdt but i need only 0.01 MATIC. Thank you
sara's user avatar
  • 1
0 votes
0 answers
22 views

Uniswap Front Runner Scam [duplicate]

I just found out that I may have been scammed. Yea, I'm fucking silly. I followed one tutorial and just to test it out I started with a small amount, but now I cannot withdraw or start the bot. The ...
Burner2023's user avatar
0 votes
0 answers
9 views

Geth Blockchain synchronised issue

i am developing my private Blockchain using geth. I am created successfully my private Blockchain and created native coin on that, after that I created RPC URL for metamask later I am transfer some ...
raj kumar's user avatar
0 votes
0 answers
50 views

Error with Withdrawing on remix-ethereum-compiler.io into Metamask Account [duplicate]

I was using the https://remix-ethereum-compiler.io but I cannot withdraw my ethereum that was transfer with metamask. It is possible to recover via withdraw? Or any available app to do it? Thanks
MhiKea's user avatar
  • 1
0 votes
2 answers
25 views

Stuck ETHs in the contract

This is the contract as you see there's 4.4+ eth there 0x2193B9F2B5E5051E41C32c71B25587D6A6f045C8 I still have ownership of contract. Any way of getting/extracting the eth from there using the creator ...
jiru's user avatar
  • 1
0 votes
0 answers
61 views

0x API: Am I able to Swap absolutely NEW coins?

I have a trading bot that operates on newly created tokens in BSC and ETH networks. It works only for new tokens, that were created with WBNB (BSC chain with PancakeSwap) or with WETH (ETH chain with ...
Danik Logan's user avatar
0 votes
0 answers
10 views

How to take the money from the bidder's wallet when the owner accept the bid

I am asking about the bidding system of nft in opensea. When the user participate in a bidding , the user enter a bid amount but the amount would not transfer at that time. The money will transfer ...
unni krishnan's user avatar
0 votes
0 answers
12 views

send the request to take(transfer) the bid price without any confirmation from the bidder when the seller accept the bid offer

When an NFT seller attempts to sell their NFT using the "sell to the highest bid" option on OpenSea, and a bidder tries to place a bid, the price value set by the bidder will not be ...
unni krishnan's user avatar
1 vote
0 answers
13 views

What we can exactly do with debug_trace_call debug_trace_block_by_number debug_trace_transaction?

Could you please explain in detail the specific functionalities and use cases of debug_trace_call, debug_trace_block_by_number, and debug_trace_transaction and debug_traceCall? I am particularly ...
PandaKungFuu's user avatar
0 votes
1 answer
77 views

No arguments passed to the base constructor. Specify the arguments or mark contract as abstract

I'm importing ownable contract from Openzepplin . The contract look like this : // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {Ownable} from "@openzeppelin/contracts/access/...
MD AZAD's user avatar
  • 35
0 votes
2 answers
23 views

How two different functions name can have same function signature?

This is the below code cast sig "workMyDirefulOwner(uint256,uint256)" 0xa9059cbb ...
MD AZAD's user avatar
  • 35
0 votes
0 answers
15 views

ETH contract - want to understand a contract [duplicate]

I there something wrong in this contract?https://pastebin.com/raw/QEWCeWyt.
Jungle's user avatar
  • 1
0 votes
0 answers
16 views

TypeError: Cannot read properties of undefined (reading 'map') Hardhat

when i try to run this code use npx hardhat test in terminal give me output TypeError: Cannot read properties of undefined (reading 'map') this is my code file Escrow.js const { expect } = require(&...
Royhan Nulloh's user avatar
1 vote
1 answer
43 views

How to get chainlink price feed data for my national currency?

I am new to blockchain currently learning and exploring. I followed Patrick's tutorial and now in order to have hands-on I want to implement a FundMe smart contract but for my national currency ...
doc's user avatar
  • 111
0 votes
1 answer
45 views

Error when using hardhat but changes made successfully onto smart contract, was able to see changes on etherscan

const [signer] = await ethers.getSigners(); const contractAddress = 'address...'; const contractABI = ["abi..."]; const existingContract = new ethers.Contract(contractAddress, contractABI,...
kzb's user avatar
  • 1
1 vote
1 answer
26 views

Java Web3j - How to solve the error `invalid sender`?

I am web3j beginner. Now I am trying to send transaction and faced this error: invalid sender. It's related credentials, I think. ECKeyPair keyPair = walletService.keysFromWallet(password, ...
Pavlo Posternak's user avatar
0 votes
2 answers
33 views

MethodUnavailable(error) when shifting from Ganache to Sepolia Testnet

I previously used Ganche to deploy a solidity contract in python with web3py and it worked with given http provider & account details. But now I want to deploy the flask application that connects ...
Anushka.N12's user avatar
1 vote
1 answer
37 views

Uniswap web3 py buy token fails with execution reverted

I have been trying to buy tokens on uniswap V2 with we3 py with swapExactETHForTokens function. Every time, I try to execute this method it fails with execution reverted message. Can somebody please ...
user130198's user avatar
0 votes
1 answer
27 views

ethers sendTransaction times out

I am using Remix IDE with the Remix VM (Shanghai) environment. In a Javascript unit test, I would like to send Ether from the main account to another account. Here is a minimal reproducible example: /*...
Max Poofing's user avatar
0 votes
1 answer
20 views

Why do i keep getting some transaction failed CALL_EXCEPTION error when sending a transaction through client

i have created a function that should allow me to join a channel for a price. this is like some on and off type of thing. It worked yesterday and now it doesnt want to work. I am pulling my hair out ...
lyub12's user avatar
  • 1
0 votes
1 answer
30 views

Differentiate a swap and normal transfer on erc-20 token transaction

Hey i’ve been following this guild (https://stackoverflow.com/questions/67998154/how-to-calculate-the-total-volume-transacted-for-a-token-on-rsk) in the ✔️ answer section to calculate the volume for ...
irregular's user avatar
0 votes
1 answer
50 views

etherscan showing 0 balance, transaction showing as success, but balance in my contract as 0

Not sure why etherscan.io showing as 0 balance. My Transaction hash# "0x2653135e31407726a25dd8d304878578cdfcc7d69a2b319d1aca4a37ed66956a" is showing as susccess with 0.47 eth. but when i ...
arewe's user avatar
  • 1
-1 votes
1 answer
22 views

Metamask sent ETH frommy Ethereum chain to my ETh account on Optimism chain

Metamask: I sent ETH from my Ethereum chain account to my ETH account on Optimism chain. Are the ETH automatically again in my Metamask Ethereum chain account?
Alex's user avatar
  • 11
0 votes
0 answers
20 views

I sent liquid staked eth to microstrategy for the Eth giveaway can I get it back? [duplicate]

I thought that liquid staked eth was the same thing as eth and sent it in to Microstrategy for their Eth giveaway. I didn’t think I just acted impulsively and I don’t know what to do now to get it ...
Virginia's user avatar
0 votes
2 answers
49 views

VRFCoordinatorV2Mock.createSubscription is not a function contract error

const { network, ethers } = require("hardhat") const { developmentChain } = require("../helper-hardhat-config") const { networkConfig } = require("../helper-hardhat-config&...
Rajvir Singh's user avatar
0 votes
0 answers
20 views

Slippage Error in node.js script

Hi i am creating arbitrage bot which execute 2 swaps and i got error that may indicate that this is occurring because of expectedAmountOut so this might be related to slippage Code: const ...
Marcin Łętowski's user avatar
0 votes
0 answers
67 views

Error when trying to execute function on mainnet UniswapV2Router: INSUFFICIENT_OUTPUT_AMOUNT

Hi i encountering this error when i want to execute smart contract onFlashLoan function: Error: Error: cannot estimate gas; transaction may fail or may require manual gas limit [ See: https://links....
Marcin Łętowski's user avatar
0 votes
0 answers
60 views

Error: cannot estimate gas; transaction may fail or may require manual gas limit Error when trying to execute function on mainnet

Hi i encountering this error when i want to execute smart contract onFlashLoan function: Error: Error: cannot estimate gas; transaction may fail or may require manual gas limit [ See: https://links....
Xardesso's user avatar
3 votes
1 answer
73 views

Is it possible to allow a third-party relayer to spend ETH on your behalf?

With the ERC-20 standard, it is possible to approve a third-party relayer to spend the tokens on your behalf. This can be done by calling the approve function and providing a high allowance value, ...
Paul Razvan Berg's user avatar
0 votes
1 answer
22 views

historical Ethereum trading volume data at a minute interval

I want to access historical Ethereum trading volume and price data at a minute interval for the last six months, I found daily intervals but could not find for minute interval, any suggestion to find ...
Mocak's user avatar
  • 3
0 votes
1 answer
42 views

Transaction failed-CALL_EXCEPTION

I deployed smart contract to testnet and i got error can someone help me debug this Code: pragma solidity ^0.8.20; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@...
Xardesso's user avatar
0 votes
1 answer
56 views

Smart contract error Error: transaction failed

I deployed smart contract to testnet and i got error can someone help me debug this Code pragma solidity ^0.8.20; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@...
Xardesso's user avatar
0 votes
1 answer
68 views

Code validation

Hi i want to deploy my first smart contract to the Eth mainnet and this require a lot of money and i am very scared can someone want to help me and validate this code for any errors becouse i cant run ...
Xardesso's user avatar
1 vote
0 answers
18 views

How to calculate the weighted average price on binance?

can somebody please answer the question below? What is the weighted average trade price of the ETH/USDT SPOT trading pair on the Binance.com platform on January 1st, 2023, in UTC time, considering the ...
Haider Mansoor's user avatar
0 votes
0 answers
17 views

Purposely failing Low-Level Call

Does this code below have a vulnerability? burnAddress.call.value(msg.value)(""); //update state burn Address is a trusted contract, which ...
Pramoxlol's user avatar
0 votes
0 answers
22 views

UniswapV2 swapExactTokensForTokens Question

I have question does UniswapV2 swapExactTokensForTokens function charge fees ? And if yes does expected amount input should be like this Expected price after fee subtraction?
Xardesso's user avatar
1 vote
2 answers
48 views

Prices on Dexes

Hi I have code that fetches price from uniswap v2 ratio0ToPrice = (amount0In, amount1Out) => { if (Number(amount1Out) === 0) { return "Infinity"; } return 1 / (Number(amount0In)...
Xardesso's user avatar
0 votes
0 answers
14 views

I send my Etc from coinbase to my eth address by accident

I accidentally sent my Ethereum classic to Ethereum address a while ago. I tried everything to recover. Nobody was able to help me or try explaining to me if it’s possible I recently seen something ...
Ali Safieddine's user avatar
0 votes
1 answer
24 views

Swap, usdt to usdc, eth to usdt, eth to usdc etc

Can someone explain how to swap, usdt to usdc, eth to usdt, eth to usdc etc. Without any third-party (uniswap, 1inch etc). In language java/kotlin. For mobile wallet an application
Insan's user avatar
  • 1
0 votes
0 answers
11 views

Send Value Raw Transaction fails with insufficient funds for gas

const amount = web3.utils.toWei("0.0000001", "ether"); var gasPrice = await web3.eth.getGasPrice(); var gasLimit = 21000; var nonce = await web3.eth....
lsj's user avatar
  • 1
0 votes
0 answers
24 views

How to calculate ETH percentage supply in profit?

I'm trying to calculate the ETH percentage supply in profit. Definition is: The percentage of circulating supply in profit, i.e. the percentage of existing coins whose price at the time they last ...
Leo Nguyen's user avatar
0 votes
0 answers
33 views

Geth still stucking at synchronizing

I trying to run my eth mainnet node using Geth and prysm but synchronizing process still stucking. Error: INFO [12-05|02:29:14.015] Syncing: state download in progress synced=0.36% state=961....
Xardesso's user avatar
0 votes
0 answers
48 views

What will happened to my WETH TOKEN if the receiver or the network didn't support WETH TOKEN

I send WRAPPED ETH to a wallet/network which is COINS PH WALLET that has supported ETH ADDRESS, i thought WETH and ETH are the same? Now my problem is how can i possible retrieve my TOKEN?
Omar's user avatar
  • 1
0 votes
1 answer
18 views

Creating a token for my personal dapp use only

I want to store the money in a smart contract from my user as long the user wants and pay back the user once he asks i will not charge for this service if I store ether in it and the value of Ethereum ...
Nishant Dhamija's user avatar
0 votes
1 answer
61 views

Consolidate multiple Ethereum accounts

I have multiple Ethereum accounts with pretty small amount of Ether, like equivalent of $20…$50 Is it possible to consolidate all wallets and/or transfer the all coins to a single wallet in Ethereum ...
Xytrax's user avatar
  • 1
0 votes
0 answers
16 views

What is the importance of `message Hash` generated from signing using private key

when we are signing a message using our private key what's the use case of the message hash ? Take the example from the eth_accounts module from python. >>> msg = "I♥SF" >>>...
Saikat Karmakar's user avatar
0 votes
1 answer
49 views

Decoding Chainlink Function Response in Solidity Contract and Handling Nested JSON Objects

I'm dealing with a problem regarding the decoding of data obtained from a Chainlink function in my Solidity code. Specifically, I'm using a Chainlink custom function that sends an HTTP GET request to ...
Blaž Perić's user avatar

1
2 3 4 5
46