Questions tagged [infura]

INFURA is a scalable, standards-based cluster and API endpoint for Ethereum & IPFS.

Filter by
Sorted by
Tagged with
0 votes
1 answer
14 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 ...
Eitan Z's user avatar
1 vote
0 answers
45 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 ...
Skeppet's user avatar
  • 111
1 vote
0 answers
81 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({ ...
Oleh Yatskiv's user avatar
0 votes
2 answers
38 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
0 votes
0 answers
61 views

getting all addresses for active lenders in aave v3

specifically right now im looking at avax liquidity pool, heres what i've tried so far from using the avax address in https://docs.aave.com/developers/deployed-contracts/v3-mainnet/avalanche: from ...
adiligentlearner's user avatar
0 votes
0 answers
28 views

Could I just replace the RPC URL of Infura with the RPC URL on MetaMask of a different chain?

I have a backend code that uses the endpoint of Infura for Goerli. But I'm now working on a very new EVM that is not supported by any Web3 provider. So, could I just replace the RPC URL in my code ...
ratib90486's user avatar
2 votes
2 answers
81 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
Joan Williams 's user avatar
0 votes
1 answer
616 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 ...
Russo's user avatar
  • 1,784
0 votes
2 answers
53 views

Interacting with deployed smartcontract with Nethereum(.NET) and Infura

I'm able to deploy my contract to sepolia. I have ABI, Bytecode of deployed contract. in .NET environment in register method I have: { var senderAddress = "...
michal's user avatar
  • 13
2 votes
1 answer
58 views

RPC endpoint for production environments

Context For testing environments, I'm spinning up AWS instances with App-chain client nodes and using the AWS ALB to access the exposed RPC endpoint. It is protected by the security group rules, so ...
quantumdust's user avatar
1 vote
0 answers
33 views

Using eth.subscribe() with Web3.js isnt returning any result

const { Web3 } = require('web3'); // Replace with your Infura project ID const API_KEY = ''" const web3 = new Web3(new Web3.providers.WebsocketProvider(`wss://mainnet.infura.io/ws/v3/${API_KEY}`)...
dotheM's user avatar
  • 11
6 votes
1 answer
109 views

MetaMask doesn't catch ERC20 reverts

When MetaMask interacts with most contracts, it seems to catch reverts and warn the user. However, when the user interacts with an ERC20 contract's transfer function, MetaMask does not catch a revert. ...
Rob Hitchens's user avatar
  • 55.2k
2 votes
1 answer
736 views

InvalidStatusCode: server rejected WebSocket connection: HTTP 401

I am trying to subscribe to pending transactions on the Ethereum blockchain using this tutorial from Infura: https://docs.infura.io/tutorials/ethereum/subscribe-to-pending-transactions When I try to ...
Beata's user avatar
  • 25
1 vote
0 answers
304 views

How to track ERC20 token creations on Ethereum blockhain with web3.js using Infura API?

I'm trying to fetch new ERC20 tokens from the blockchain transactions, my code is scanning the blocks and when I tried to log transactions it works well, (dumping bunch of logs). However I don't know ...
RasmonT's user avatar
  • 131
0 votes
1 answer
17 views

If i am setting up metamask for a local ganache server only, do i need infura at all?

I will build my own metamask from the open source code, becuase I want to have my password stored so that i can run tests without having to click on metamask and confirm my password. While setting up ...
bharal's user avatar
  • 123
0 votes
1 answer
96 views

Truffle migrate Error: PollingBlockTracker

I'm trying to deploy a contract on Avalanche Fuji testnet using Truffle. Here is my truffle config: require('dotenv').config(); const mnemonic = process.env["MNEMONIC"]; const infuraUrl = ...
code_learner93's user avatar
0 votes
0 answers
26 views

How to get all owners and balances of an NFT with infura?

I'm trying to get all owners and balances of a specific NFT with infura, I am using this API nft.api.infura.io as follows curl -X 'GET' \ ...
Tom's user avatar
  • 1
0 votes
0 answers
119 views

long-time pending transaction suddenly is hidden on Goerli

Sometimes, happen for me scenario below: I send a transaction to Goerli with low gas. Infura nodes return me a successful message with a related transaction hash. But when I search for the transaction ...
mjdimn's user avatar
  • 1
2 votes
2 answers
3k views

Where can Developers get Sepolia Testnet ETH? [duplicate]

Where can web3 developers get free Sepolia Testnet ETH to use in their development process?
anataliocs's user avatar
1 vote
3 answers
2k views

Read Transaction History with ethers v6.1.0

I am trying to create a new wallet similar to Metamask. I have implemented few simple features and now I am looking to display transaction history for a particular wallet address. I have tried ...
Vaibhav Patel's user avatar
1 vote
6 answers
1k views

Infura network support for sepollia in Brownie

I have been trying to get testnet LINK for Goerli from chain.link. But it looks like it is no longer providing that for Goerli but Sepolia only. I am using the latest version of Brownie and it only ...
EmilyJ's user avatar
  • 147
0 votes
1 answer
793 views

Deploy to Sepolia Infura Foundry: Solidity Scripting

I'm trying to deploy my contract with Foundry Solidity Scripting to Infura on the Seoplia test net. But Im getting this weird issue that appears to be related to the Infura API Key (formerly Project ...
currenthandle's user avatar
3 votes
0 answers
33 views

Query Transactions between date ranges with Infura

I need to query ERC20 and ETH transactions by a date range and not simply get a paginated batch at a time. How can I do this?
Brendon Rofe's user avatar
1 vote
1 answer
263 views

Understanding how Metamask queries the balance of an ETH address from a RPC node

I'm trying to create a custom RPC node, but first I want to understand what's in a metamask request from an RPC node. From the following api call below using CURL, we can see that you need to pass in ...
Patoshi パトシ's user avatar
1 vote
1 answer
98 views

How to know that I am in mainnet or not?

I use Metamask. Until now I used the goerli testnet network for my development project. I use ethers.js also in my project. Now how can I implement a test for knowing the network if it is goerli or ...
pheromix's user avatar
  • 125
1 vote
0 answers
21 views

How many dependent transactions will Infura accept?

How can I reliably send many TXs simultaneously on mainnet with Infura? I'm trying to send a lot of TXs at once (like one hundred). I've been able to do this on Goerli (getting in 120+ TXs in one ...
will_durant's user avatar
  • 1,154
1 vote
1 answer
47 views

How to get metamask address with infura?

I am very new to the blockchain programming. I installed the metamask browser extension on my google chrome. I funded it everyday through Alchemy. Now I am working on a Laravel project which involves ...
pheromix's user avatar
  • 125
2 votes
1 answer
86 views

Is dedicated gateway a need for marketplace projects?

I am developing an NFT marketplace. It has a section showing images of NFTs ( NFTCards with some information ) of a specific contract address. Since the number of minted NFTs by the contract is high, ...
Sina Rahimi's user avatar
0 votes
1 answer
213 views

Getting the latest outgoing transaction of an Ethereum address

I'm trying to write a code to get the latest outgoing transaction of an Ethereum address data. For that I reached to Infura and tried to get it using something like this: const INFURA_URL = 'https://...
m0j1's user avatar
  • 167
0 votes
1 answer
61 views

usage of infura wss

I am trying to connect to infura via wss protocol, but I get this typerror, can you please help me out with that? from web3 import Web3 # add your blockchain connection information infura_websocket = ...
f22daniel's user avatar
  • 353
0 votes
1 answer
395 views

How can I create a script that retrieves the transaction history of an address and organizes the information on excel?

I have address 0x389505f098a29a994A3ed0e674f07cd451dde42C and I need to create an excel spreadsheet containing all the transactions from 2022 (roughly 40,000). Cannot download the csv report from ...
madamepresident's user avatar
1 vote
1 answer
429 views

Is there a more decentralized RPC server for MetaMask than Infura?

The default RPC server for MetaMask browser extension is Infura. However, Infura is known to monitor the IP addresses and other data of its users. Anyone who is touting decentralization of crypto, but ...
user610620's user avatar
  • 1,518
0 votes
1 answer
614 views

setState is not working

This is a function where I try to pin an NFT metadata on IPFS and then store the URL in a state variable called tokenUrl. Once the pinning process is done, I need my related state variable to be ...
Sina Rahimi's user avatar
0 votes
1 answer
1k views

how to sign with raw transaction data - EthersJs, Infura

As the below picture display. If I know the raw transaction data, then how can I sign this transaction with the ethers.js? Thanks. Supplement The raw transaction data is display on the metamask. I ...
SylorHuang's user avatar
1 vote
1 answer
43 views

What are the Solidity contracts that the Infura NFT SDK uses? How can one test these contracts?

I am trying to make use of the Infura NFT SDK that would work with another contract that I developed. I wanted to make some unit tests locally, however, searching on their documentation and on the ...
PensoGlide's user avatar
1 vote
1 answer
160 views

How to use web3.storage in-place of Infura as IPFS for my NFT Marketplace?

I wanted to use Infura as my IPFS for a project, but now as it has been deprecated, I got a suggestion to use web3.storage instead. But I couldn't find any useful tutorials for using it in my project. ...
Sakar Baxi's user avatar
1 vote
1 answer
42 views

Infura is not working with Nader Dabit tutorial for NFT Marketplace. How can I use Infura again?

I was trying to build an NFT Marketplace demo using Nader Dabit tutorial. Whenever I try to click on 'Create an NFT' button after file submission, I run into an Unhandled Runtime Error: TypeError: ...
Sakar Baxi's user avatar
0 votes
1 answer
377 views

HttpProviderError when trying to send a tx with lower gasPrice

I am trying to send a tx to Ethereum mainnet with a lower gas price than the current gas price to have it in pending state until the gas price drops and it is picked up. I am using ethers.js for my ...
Sebastian Dine's user avatar
0 votes
1 answer
324 views

Failing when deploying into a testnet

when I run brownie run scripts/deploy.py --network rinkeby I get this result: and this is my python code: from brownie import accounts, config, SimpleStorage, network def deploy_simple_storage(): ...
whatever12's user avatar
4 votes
1 answer
306 views

Goerli Smart Contract Deployment taking way too long because of pending transactions

My deployments are very slow. I've read that I need to override pending transactions by resetting the nonce. I'm using Infura. Is there a way to view pending transactions and their nonce like I would ...
HeeeeSark's user avatar
0 votes
0 answers
74 views

Transaction not updating data in smart contract web3.py

I have a smart contract written in Solidity that stores a blacklist of strings. I have written methods to add strings to the blacklist as well as check if a particular string is present in the ...
revmatcher's user avatar
1 vote
1 answer
1k views

Use EthersJS to connect to either Alchemy or Infura depending on availability

I've noticed that relying on one provider API can be problematic at times of heavy server load. I would like to use EthersJS to choose either Infura or Alchemy depending on which network is available ...
Ahmed Ihsan Tawfeeq's user avatar
0 votes
1 answer
329 views

Deploying on Arbitrum using Infura endpoint

I am trying to deploy a contract on Arbitrum testnet using Infura as web3 provider. In my profile with Infura I added Arbitrum as a network. Then I do const url ='https://arbitrum-rinkeby.infura.io/v3/...
0x11111's user avatar
  • 101
1 vote
0 answers
382 views

Getting requests.exceptions.HTTPError: 403 Client Error after a successful function test

I’m using wsl2 on windows; after one successful integration test on goerli with pytest on ubuntu, I’m constantly getting this error on running my tests: requests.exceptions.HTTPError: 403 Client ...
Shack's user avatar
  • 11
1 vote
2 answers
260 views

Subscribing to a single Eth address doesn't return any logs

Using Infura , I'm looking to subscribe to a specific address At the moment, I don't get any events even though I see them with Ethscan If I remove the "address" filter, the subscription ...
yash's user avatar
  • 11
0 votes
2 answers
1k views

What do I need to consider to choose Ethereum Client?

I'm trying to create a node and realized there are several open sources for Ethereum client such as Geth, OpenEthereum, Erigon and Nethremind. I would like to know... Which one is the most used and ...
SOKURI_CODE's user avatar
0 votes
2 answers
150 views

Why use node providers? Is it necessary to use them for small project?

I want to start a small project and consider to run own node for it. The other day, I just found there are node providers like Alchemy, Infura, and so on. I just did their tutorials, and I think it is ...
SOKURI_CODE's user avatar
1 vote
1 answer
2k views

Error uploading file to IPFS: HTTPError: project id required

Currently making a rudimentary DApp for posting chats, similar to twitter except built on a smart contract. I am using hardhat and running my app on localhost. When creating a profile I want users to ...
Beau Chaseling's user avatar
1 vote
1 answer
354 views

Web3.py Transaction Keeps Timing Out

I'm attempting to send a transaction using web3.py between an address I created & my metamask account on goerli. Everything seems to go well until confirming the transaction, at which point w3.eth....
Steven Cloud's user avatar
0 votes
1 answer
167 views

Geth vs Infura to securely access RPC endpoints

Good morning! To start, I'll apologize for any misused terms- I'm still in the learning process & there's a lot to learn about everything! I'm working in a corporate setting to explore blockchain; ...
Josh D's user avatar
  • 3

1
2 3 4 5
10