Questions tagged [infura]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 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
57 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
56 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,764
0 votes
2 answers
38 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
21 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
20 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
105 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
  • 54.7k
2 votes
1 answer
317 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
170 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
15 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
67 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
19 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
102 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
1 vote
2 answers
2k 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
1k 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
564 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
30 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
187 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
68 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
20 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
44 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
82 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
133 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
56 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
  • 313
0 votes
1 answer
277 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
326 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,486
0 votes
1 answer
471 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
35 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
133 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
39 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
325 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
304 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
290 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
71 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
299 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
359 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
183 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
941 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
128 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
281 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
149 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 vote
0 answers
386 views

Protect Infura ID from being stolen and abused

I'm using an Infura API key for my dApp's "Connect Wallet" integration with Web3Modal Key: Relevant Codebase: import Web3Modal from 'web3modal' import WalletConnect from '@walletconnect/...
Anson Kao's user avatar
  • 111
1 vote
1 answer
981 views

Where does MetaMask keep the API key of Infura?

Since Infura always require an API key for its users, and Metamask by default uses Infura, it makes me wonder: where does MetaMask keep the API key of Infura? Not a private of a wallet, but an API ...
pablo camilo's user avatar
0 votes
1 answer
27 views

Should I use Infura for high volume checking site?

Releasing a DAPP soon that uses Infura to read information from my smart contract. There are a lot of calls using Infura on the frontend because I want to keep everything updated. Are there any limits ...
frankied003's user avatar
2 votes
1 answer
187 views

ValueError: Unknown URI

I'm following a solidity tutorial from Patrick Collins and when trying to run the following: brownie run scripts/get_weth.py --network mainnet-fork I get an error: INFO: Could not find files for the ...
Dev Ajay Mathew's user avatar
0 votes
1 answer
80 views

HTTPError: 401 Client Error: Unauthorized for url: https://rinkeby.infura.io/v3/$WEB3_INFURA_PROJECT_ID

I'm following this solidity tutorial from Patrick Collins and when running a script: brownie run scripts/1_deploy_token.py --network rinkeby I get this error: INFO: Could not find files for the given ...
Dev Ajay Mathew's user avatar

1
2 3 4 5
10