Questions tagged [infura]
INFURA is a scalable, standards-based cluster and API endpoint for Ethereum & IPFS.
494 questions
0 votes
0 answers
30 views
Infura Sepolia endpoint error
Infura Sepolia endpoint. Getting error "JsonRpcProvider failed to detect network and cannot start up; retry in 1s (perhaps the URL is wrong or the node is not started)" when run script in ...
0 votes
1 answer
95 views
remix.ethereum.org : typing web3 on remix terminal gives "undefined"
Configured remix.ethereum.org ( Browser based Remix IDE ) . Environment set to Injected Web3 Provider Metamask. Network in Metamask is set to Infura Sepolia using RPC URL. https://sepolia.infura.io/v3/...
0 votes
0 answers
75 views
Why does Web3.js return 'already known' error for a successful transaction
I've implemented a Web3Service class in TypeScript for a notarization service using Web3.js. The blockchain used is Polygon, and the blockchain provider is Infura. Occasionally (this issue is not ...
2 votes
1 answer
203 views
“Execution reverted” with no reason provided while making a call from Web3j - everything is OK in ethers.js
Me and my friend are trying to use Web3j for backend part of our student project. We have a smart contract written in Solidity and deployed in Infura. Contract is called CoursesFactory and has two ...
0 votes
1 answer
51 views
Null data return from Infura API by using "eth_getLogs" method
I want to get the ETH transfer volume from wallet address via Infura API on Postman. But there is NULL data inside the API result. I expected there is data in result, but nothing now. My URL: POST ...
2 votes
0 answers
77 views
How to get rid of stuck unconfirmed transaction in infura.io polygon-mainnet chain?
The issue is that infura.io RPC node for the polygon-mainnet returns this transaction with getTransaction call, while this transaction is not seen on https://polygonscan.com/ or if other RPC node ...
0 votes
1 answer
40 views
get_total_transfer(tx_hash, receipt) function to compute the total amount transferred for each token involved in an Ethereum transaction
How can I implement the get_total_transfer(tx_hash, receipt) function to compute the total amount transferred for each token involved in an Ethereum transaction (tx), using transaction data and ...
0 votes
0 answers
466 views
Returned error: insufficient funds for gas * price + value (overshot)
I'm trying to automate the calculation of gas based on the balance, set the required gas and send the remaining balance. Am I misunderstanding something? // send all const amount = balance.weiBalance -...
0 votes
1 answer
43 views
Users service wallet and gas
I have created a service (.NET) that uses Smartcontract. I chose Infura to work with network infrastructure. Everything works fine... recently it occurred to me that I need to add something like user ...
1 vote
1 answer
842 views
How to check if transaction is in mempool using Infura apis
I am trying to check if a pending transaction is still in the mem pool using infura api eth_getTransactionByHash or alternativly using JS web3js.eth.getTransaction(hash). in both methods i am getting ...
1 vote
0 answers
127 views
Transaction stuck and blocking any new transactions, but changing node provider solved it. Why?
Can someone please help me understand what just happened, so I and others can account for this in error handling? I was using web3.py to swap USDC for WMATIC through the UniswapV3 Router on Polygon ...
1 vote
0 answers
430 views
EthereumProvider from @walletconnect/ethereum-provider not seeing my Infura project
I'm having trouble with getting EthereumProvider to connect via the Infura API key. I use it in my connection logic like this: const provider = await EthereumProvider.init({ ...
0 votes
2 answers
138 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 ...
2 votes
2 answers
217 views
Need an advice about a stable RPC Provider (doesn't have to be free) [duplicate]
Need a full ETh Node, please share a good RPC provider with stable connection and not enou
0 votes
3 answers
2k views
Infura Ethers.js jsonrpcprovider failed to detect network and cannot start up
I have tried to make Ethers.js 6.8.0 to work with Infura: endpoint = "https://sepolia.infura.io/v3/" + infuraApiKey; provider = new ethers.JsonRpcProvider(endpoint); but got this ...