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
0answers
5 views

Unable to clear pending transaction on current Nonce by increasing fees

I have a pending transaction from 1 week ago, I tried every step to clear it that I can find online. I know which nonce it is, and I doubled and tripled the gas limit and fees, but it still won't ...
0
votes
0answers
5 views

Why listing a NFT (contract already deployed on Ethereum) in OpenSea don't need to send transaction?

Why canceling a listing requires send a transaction? Will the listing be submitted to Ethereum?
0
votes
1answer
13 views

Why use infura or alchemy? [closed]

I was being told that I needed to use infura/alchemy or use a etherium node in order to deploy, test, interact with contracts in the mainnet/kovan/rinkeby... networks. This I understand and makes ...
0
votes
0answers
14 views

Some questions about BlockChain (ETH, BTC)

Guys i'm a super newbie in blockchain and similar stuff so I got even dummier questions that i'd like to have answers to. This is mainly connected with the Ethereum Network, but if your instances and ...
0
votes
0answers
11 views

How to get the address of a already deployed contract in hardhat's network?

I'm working with hardhat's local network, and I want to get the address of a deployed contract, I want to avoid deploying the contract again just to get the new address, I want to access to the ...
0
votes
0answers
39 views

Trying to make our own token: Can not verify contract (can not match byte code) on etherscan.io (mainnet)

We are trying to verify our smart contract code on mainnet to make a token but are unable to do so. We followed this tutorial, although we are using an older version of the code: https://medium.com/...
0
votes
1answer
15 views

I sent ETH(M) tokens from trust wallet to ETH wallet in crypto.com not Defi wallet [closed]

I sent ETHM from trust wallet to ETH wallet in crypto.com, the transaction showing in etherscan as success and I'm able to see my token in etherscan but not in crypto.com platform , any help what to ...
0
votes
1answer
13 views

Mint function with 2 or 3 parameters Reverted

I am building a mint DAPP on the fantom blockchain. However, when I call the mint function, it returns an error: (execution reverted: Invalid payment amount) My React app communicates well with the ...
1
vote
1answer
45 views

Detect receiving token address in "receive() payable"

for the given receive function , is there a way I can detect the receiving tokens address (Detect what coin my contract is receiving ) is it possible to extract this information from msg ? receive() ...
1
vote
1answer
14 views

Why is it necessary to access smart contracts via their address?

I am new to solidity and just started exploring smart contracts. I have a smart contract for creating a Person struct with name and age and a function to access the structs using the name variable: ...
0
votes
1answer
15 views

Ownable function call from another function

I have two ownable functions (I'm using openzeppelin), when I invoke the second function from the first one, I get: "Ownable: caller is not the owner". function first() external view ...
0
votes
1answer
22 views

How do I get the Ethereum Object into my NextJS App?

this is my first post here. I have spent the requisite day+ on my own trying all I know with my limited abilities at present, but all to no avail. I come here seeking aid with the following issue then:...
1
vote
2answers
29 views

How to get status of a Transaction in Solidity from within the contract itself

Is it possible to get the status of a Transaction like if it went thru fine or any failure, within a smart contract function itself. lets say, I am trying to transfer some ether to a different address ...
0
votes
1answer
52 views
0
votes
1answer
19 views

How to know that transaction is transfer?

When, I was watching transactions I saw tag transfer but I don't see this. hash: '0x22d44a7742aab325fb3e921d2d7c3f41f5d492a370e53bafe3f2b6c145670004', type: 0, accessList: null, blockHash: '...
0
votes
1answer
15 views

Unstable Ropsten transaction

I've been developing on top of Ropsten for a few days. The network becomes unbearably slow and has been causing network timeout very frequently. This problem is especially prominent during afternoons ...
1
vote
0answers
7 views

How are updates rolled out?

if an update to Ethereum or any other cryptocurrency is rolled out, how to ensure that everyone in the network is running the same 'version'. Especially if the update is not backward-compatible with ...
1
vote
2answers
60 views

Deploying a simple contract to ETH Mainnet (from remix) costing $500? Am I doing this wrong?

I have a simple contract that I've tested on my ganache network, and now I'd like to push it to the mainnet. So I funded my Metamask with around $100 or 0.025 eth, figured that would be enough to ...
0
votes
1answer
24 views

Getting count of Ethereum transactions per day

I’m trying to write a call to get count of eth transactions per day, without using a pro api subscription. Anyone has some ideas about how to achieve this, maybe using an infuria.io project api? ...
0
votes
0answers
16 views

Whats wrong ? Error: Transaction was not mined within 750 seconds, please make sure your transaction was properly sent

This question has already been asked here but none of the answers seem to help me. I am sending the transaction to ETH Mainnet but it seems to be timing out with the error all the time. The ...
0
votes
0answers
14 views

Recovering an old Mist Ether Wallet (Pre-version 0.11.1) - I have the Password but no keystore

A few years ago I set this Ether wallet up (Windows 10) and then following that the boot partition of that drive died. I still have the installation files for Ethereum wallet and everything that was ...
0
votes
2answers
63 views

I am running my tests in the hardhat environment but it gives me 0 passing all the time

I am facing rather unusual behavior from hardhat. I have written my test cases in a file inside test folder when i run yarn teston the terminal it gives me 0 passing. Don't have any idea as to why it ...
2
votes
0answers
105 views

Transfer an NFT token from Polygon to Ethereum - Solidity smart contract

I am new to blockchain development, NFT and Solidity and i need your help. I have fount this twit and this Polygon documentation Most of the assets are pre-existing on Ethereum chain. But new assets ...
0
votes
0answers
37 views

How can I fix this Uniswap Router bot?? It's making me put a time.sleep(40) just before buy() function?

This uniswap router bot triggers a swapExactETHForTokens transaction but it always fails with an "out of gas" error unless I put a time.sleep(40) just before the buy() function. I tried to ...
0
votes
1answer
13 views

How to ask to send a busd transaction using ethers

I have tried to make a function in a dapp to ask the user to send X BUSD to a wallet. The problem is that I cannot figure out how to make it ask for BUSD instead of ETH. try { if (!window....
0
votes
0answers
6 views

I staked in pool41, but I can't withdraw. I would appreciate it if you could let me know how to proceed with the withdrawal

When I go to the website where I staked, it says to withdraw by 1/19. I staked on pool41. I would appreciate it if you could let me know how to proceed with the withdrawal. Transaction Hash: ...
0
votes
1answer
35 views

How can I get the current ETH gas fees in python

I am trying to make a python program that gets the ETH gas prices. I am trying to avoid selenium scraping because I am using this for a discord bot. Does anyone know any good python APIs I can use?
0
votes
0answers
25 views

Getting ETH, USDC and USDT equivalent/estimated amount of a transaction

I have a transaction below from etherscan API. If I understood correctly, this transaction has transferred 75.075 AXS to 0x3019d4e366576a88d28b623afaf3ecb9ec9d9580 address. [ { "blockNumber&...
0
votes
0answers
49 views

How to Buy/Sell tokens using Uniswap V3 Multicall function?

I used to create programs to buy and sell tokens by interacting directly with Uniswap V2 router functions (SwapExactEthForTokens, and others). It was fairly simple because all I needed to do was to ...
0
votes
0answers
15 views

Ethers - Reading Staked Balance from Staking Contract

I'm trying to read the value of a given token that is staked or locked. I can get this to work for DuckStarter's staking contract in NodeJS using the EthersJS package like so: // THIS WORKS async ...
0
votes
1answer
23 views

swapExactTokensForTokens not working!

We are trying to "swapExactTokensforTokens" for swapping any token, and it runs well, but we get this error at the blockchain: TRANSFER_FROM_FAILED https://polygonscan.com/tx/...
0
votes
0answers
39 views

How can I fix a ValueError revert transaction on a sniper bot that reverts only when triggered by an event(PairCreated)..otherwise swap goes through?

THIS IS A BOT TO SWAP ON UNISWAP WHEN NEW PAIR IS CREATED BUT WHEN BUY FUNCTION IS TRIGGERED BY AN EVENT THE TRANSACTION REVERTS BUT BUY FUNCTION GOES THROUGH WHEN TESTING JUST THE buy() ...
0
votes
1answer
47 views

What is the best OPEN-Source ETH explorer? (alternative to etherscan) [duplicate]

What is the best OPEN-Source ETH explorer? I ve seen the following answer : Open Source Ethereum Blockchain Explorer Is these the only 3 open source alternatives to etherscan? EthVM BlockScout ...
0
votes
2answers
33 views

Any shortcuts to get some test ethers for goerli test net?

let me know if you have any other ways to get some test ethers apart form(https://faucet.goerli.mudit.blog/) tweet post, fb post link and mycrypto request.
1
vote
0answers
15 views

How does Proof Of Stake deal with transactions that are transfering more money than had been staked

I will try to clarify my question. As far as I understood, the proof of stake relies on the fact that it would make no sense to try to steal/forge transactions because you would lose your staked money....
1
vote
1answer
28 views

IWETH9 withdraw function - where is this function sending the ether to?

I've written the following function which swaps DAI back to WETH and then withdraws the WETH and returns the Ether. After running the function on REMIX I've got the Ether on the contract balance as I ...
0
votes
2answers
1k views

How to swap wETH for ETH on Polygon network?

The current largest mining pool Ethermine has an option to be paid in wETH through the Polygon network instead of in ETH on the mainnet. Through MetaMask on the Polygon network, I see my wETH in my ...
0
votes
1answer
103 views

unable to get test eth for Goerli testnet , and it is showing this error all the time"url doesn't link to supported services"

I have tried to get it with both tweeter post and facebook post links to get eth,But they are not working for me.
0
votes
0answers
15 views

different between offline transaction raw and online

i use this code : const EthereumTx = require('ethereumjs-tx').Transaction const privateKey = Buffer.from( '2EE0C********', 'hex', ) const txParams = { nonce: 686, gasPrice: ...
0
votes
0answers
11 views

How to solve Rinkeby Authenticated Faucet reCaptcha thinking I am a bot? [duplicate]

I am trying to get Rinkeby Ether on the above mentioned website and it keeps not giving me any. When I click "Give me Ether" it does not even show any popup to prove I'm a human (like, &...
0
votes
1answer
19 views

Smart Contract Uploaded with single mint option; did not take into account multiple mints at once

Very simple question with I'm assuming no answer or a difficult to implement answer. We have a smart contract with a mint function that takes no arguments. It only allows for the minting of one token. ...
0
votes
2answers
86 views

MetaMask Not showing the Test Networks

I have installed the metamask chrome plugin . I am unable to see the different test networks in the metamask. Need help how this can be solved
0
votes
0answers
34 views

how to add tax fees to transactions/transfers and Use fees toward liquidity

We have decided to launch a crypto token in support of new social streaming platform. And we would like to be able to add a tax fee that will be added to the liquidity of the token itself on pancake ...
0
votes
0answers
18 views

Solidity - multiple oracle queries with different parameters each

I have managed to get a API call for the JSON file and return the data from the specific location that I want. Now the problem is, that if multiple people try to get the data for different locations ...
1
vote
1answer
77 views

Why am I getting "Too Many Requests" / "[ethjs-query] while formatting outputs from RPC" error from faucet.metamask.io

I am simply trying to get some test ether on Ropsten network from https://faucet.metamask.io/ and I keep getting this error. Any suggestion: Error: 500 {"error":"[ethjs-query] while ...
0
votes
1answer
13 views

If a contract call fails at require is the ethereum value returned to msg sender?

According to this and this answer any remaining gas after a require statements assert condition fails is returned/refunded back to msg.sender but what about any ETHER sent in that transaction call i.e....
0
votes
0answers
25 views

Best approach to transfer a % of a token

i´m very new in blockchain and i'm trying to understand how to handler the amounts and values. I want to transfer 10% of the total token BEP20 amount to an array of wallets. Is this a good way to do ...
0
votes
0answers
31 views

TypeError: Cannot read property 'callback' of undefined

my code const providerWs = new ethers.providers.WebSocketProvider('quicknode wss provider'); providerWs.on('pending', async (txHash) => { try { const transaction = await ...
0
votes
0answers
18 views

What's a way of extracting analytics from Ethereum's main net?

I'm kind of newbie in Etherum's world. I'm looking for a way of building an "scrapper" (let's say something to collect analytics from Etherum main net) from scratch. It's totally for ...
1
vote
1answer
32 views

Chain Link oracle : Fail with error 'First word must be requestId'

I just span up an oracle contract using "@chainlink/contracts/src/v0.7/Operator.sol"; I am using Operator.sol specifically for the fulfillRequest2 function since i need to return data in the ...

1
2 3 4 5
38