Questions tagged [infura]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
708 views

Transaction signing fails Invalid RLP.“,”data“:”RlpExpectedToBeList"

I'm trying to sign and push a transaction using ethereumjs and Infura. It seems to be working and I'm getting a transaction hash back, but the transaction is not visible on Etherscan, and when I'm ...
0
votes
0answers
15 views

Do I use Infura sending transaction using web3 (injected from) Metamask?

I'am working with truffle using MetaMask wallet to send transaction to my Contract on Rospten Blockchain. I have dubs about the flow of my work. I deploy my smart contract on Ropsten thank to Infura ...
2
votes
3answers
299 views

Does Using Infura Breaks Decentralization?

Decentralized applications have a philosophy: they are immutable,secure and trustless applications. You can connect to Blockchain and be sure about that features. Infura is a great tool when ...
0
votes
2answers
29 views

Infura returns strange error: `query returned more than 10000 results` [closed]

The purpose of the function below is to track USDT that is transferred to and from Yearn and Fulcrum. When I call search_liquidity(_toBlock), I get an error that says Returned error: query returned ...
0
votes
1answer
27 views

ethers.js Why aren't logs filtering? (query returned more than 10000 results)

I'm building an API to scrape events from a contract suite deployed to Rinkeby. Here's an example function with some context: const network = getNetwork(parseInt(`${process.env.CHAIN_ID}`)); const ...
0
votes
1answer
21 views

Ethereum is not transferred on Ropsten network

Here's my code for signing nd sending a transaction on Ropsten testnet which is working properly. However, the value that is set to '1' eth is not transferred to the target address. var Tx = require('...
0
votes
1answer
24 views

Receiving 'undefined' when using getBalance from web3

I am trying to fetch the balance of an address by web3 and node from Ropsten network with the commands below: var Test = require('web3') var url = 'https://ropsten.infura.io/v3/...' var web3 = new ...
2
votes
3answers
578 views

How do I send a transaction using web3.py and Infura?

I am using Infura to interact with the Ropsten testnet. I would like to send a transaction from one account to another, but the following code does not work: w3 = Web3(Web3.HTTPProvider('InfuraUrl')) ...
0
votes
2answers
74 views

How to get new transactions by addresses?

I have an array of addresses on my server which I need to track. What method should I use to do that via websockets? I’m new to eth and cryptocurrency at all, and I don’t understand “blocks”, “gas ...
1
vote
1answer
477 views

Error on WebSocket connection to Infura Ropsten (broken close frame)

I am trying to connect to Ropsten with Web3js (1.0) via Infura using their WebSocket provider but I am getting the following error: WebSocket connection to 'wss://ropsten.infura.io/ws' failed: ...
3
votes
2answers
1k views

Is there any way to see the txpool with infura and web3?

I'd like to get pending transactions information without running my own node. Is there any way to do that? Something like this would work too, but they only seem to provide a fraction of the pending ...
6
votes
1answer
729 views

Problem with start() in web3-provider-engine

While trying to connect to a provider(infura) I get the above error below is the full stack trace: bundle.js:54318 Uncaught TypeError: this.provider.sendAsync is not a function at Web3Subprovider....
0
votes
1answer
18 views

How to check if the newly mined block contains a contract deployment using infura sdk?

I am trying to implement following scenario. Get a notification every time a new block is mined. Loop through/filter all the transactions in the newly created block. Check if the any transaction ...
2
votes
1answer
133 views

contract does not gets deploy to rinkeby via Infura

I am trying to deploy my contract to Rinkeby network via Infura. But it actually does not get deploy to network when i run node deploy.js terminal does not spit out the address at which it is deployed....
3
votes
2answers
762 views

Ropsten infura test network + web3 js event listener

I have deployed contracts on ropsten test network. truffle.js ropsten: { provider: function() { return new HDWalletProvider(mnemonic, "https://ropsten.infura.io/<api-token>") }, ...
0
votes
1answer
115 views

Cannot read property 'then' of undefined

I am trying to send ether from one address to another. After executing the code I am receiving an error: Cannot read property 'then' of undefined. How can I fix this? Thanks in advance. const Web3 = ...
0
votes
0answers
19 views

Does Infura support Event Filters?

Does Infura support creating filters to Listen to events ? I have a dapp with many events, and would like to test it in Ropsten testnet and python web3.py, but it seems infura does not support filters....
0
votes
0answers
18 views

Can not run more than 1 event in Infura

I am trying to listening to many events from infura but it is not working. Only one filter work, when I add the second filter, this message appear: RuntimeError: cannot call recv while another ...
3
votes
2answers
1k views

Invalid address error

I keep getting Error: Invalid address when trying to run the application. My current setup of web3 using infura node is if (typeof web3 !== 'undefined') { web3 = new Web3(web3.currentProvider); } ...
0
votes
1answer
80 views

“Migrations” — sender account not recognized

This is my truffle.js i've removed the credentials marked as * var HDWalletProvider = require('@truffle/hdwallet-provider'); var fs = require('fs'); var infura_apikey = "*" var mnemonic = &...
0
votes
1answer
416 views

Error: `Invalid JSON RPC response` when running estimateGas on Infura

Why am I getting an error when doing a gas estimation on infura. I am using web3 v1.0 and here is my code: let Web3 = require('web3'); var web3 = new Web3(new Web3.providers.HttpProvider('http://...
1
vote
1answer
37 views

How long does it take it typically take for call value of changed variable to update?

I'm trying to mine a proof of work contract. Each time a solution is found, the return value for units.functions.getChallengeNumber().call() should change. I ran two instances of this script (with ...
1
vote
4answers
1k views

Smart contract function always returning transaction underpriced or exceeds block gas limit

Was wondering if anyone has come across this before. I am using Ropsten through Infura and no matter what I set the gas to it will always return either transaction underpriced or exceeds block gas ...
1
vote
0answers
11 views

Infura and Remix Smart Contract

I have a smart contract in Remix and would like to be able to filter events using Infura. I know nothing on how to get started. I went to infura and created a project which has a project ID. What ...
0
votes
1answer
381 views

Truffle tries deploy from unknown account

I am trying to deploy a contract to Ropsten using Infura with the config file truffle.js below. The deploy fails because the account listed in the error message has insufficient funds – however I do ...
0
votes
0answers
19 views

Known transaction error in Python3

I'm experimenting on an automatic ethereum wallet. But I have some problems. The first process is successful but it's error message the second process: Known transaction how do I solve this problem? ...
0
votes
1answer
235 views

Error: Invalid JSON RPC response | ropsten.infura

I'm trying to deploy my contracts to the ropsten test network, but I get this error. the message error : C:\Users\acer\test>truffle migrate --reset --network ropsten Using network 'ropsten'. ...
8
votes
1answer
1k views

Adding Wallet using web3.eth.accounts.wallet.add

On web3 0.20.1, I am using Infura to deploy a contract to Rinkeby. This probably requires me to add a wallet to web3.accounts to provide the gas needed. When I ran the following nodejs code, Web3 = ...
0
votes
1answer
687 views

Command line tool to interact with smart contract

I want to be able to interact with functions on a smart contract. I do not want to setup my own node using geth, and would like to use something like Infura as a remote node. Based on what I have ...
0
votes
2answers
490 views

How to use balanceOf function with Web3j for an android app

I am trying to use the balanceOf function after the generation of our smart contract (pakoin) function wrappers in Java with Web3j. Despite trying different ways, I get plenty of errors and I don't ...
0
votes
0answers
20 views

Subscribing to new blocks doesn´t work [ROPSTEN]

I'm trying to subscribe to newBlockHeaders on the ropsten network, but it does not seem to work. The following code works for mainnet but not ropsten. Any ideas? const Web3 = require('web3') const ...
1
vote
1answer
40 views

The send transactions “from” field must be defined using Infura web3

when I try to send my transaction using infura I get this error "The send transactions "from" field must be defined" My problem is my web3 object. When I used Metamask and ...
0
votes
1answer
337 views

Facing UnhandledPromiseRejectionWarning warning message in web3 infura

So far, I'm trying to get transactions list using web3 & infura by websocket provider. Here is my code const Web3 = require("web3"); const web3 = new Web3(new Web3.providers.WebsocketProvider('...
1
vote
1answer
69 views

“Nonce too low” using contract.methods.myFunction().send()

Using web3 to build a contract from the ABI: contract = new web3.eth.Contract(JSON.parse(abi), '0x17c91A5a6f5e3E4BEaFC478D18C4A44D88833277', { from: '0x0Ad2b5CCe78D677fD000698a7E4Cde866DE189C6', gas: ...
0
votes
0answers
29 views

Web3j 5.0.0 and event listener

I'm using Web3j 5.0.0. I would listen to events of a smart contract. So, I write this.getContract().tokenMintedEventFlowable(DefaultBlockParameterName.EARLIEST, ...
0
votes
0answers
10 views

Events stop triggering after a while

I created a script that subscribes to PairCreated event on Uniswap using Web3 and Infura API. The event works for a few minutes but stops working after a while (timeouts?). How can I make it watch the ...
0
votes
1answer
13 views

Etherlime Infura Rinkeby deployment causing ECONNREFUSED 127.0.0.1:443

I’m trying to deploy to Rinkeby using Infura (using Etherlime), but am getting a strange error: 'Error: connect ECONNREFUSED 127.0.0.1:443\n' + ' at TCPConnectWrap.afterConnect [as oncomplete] (...
0
votes
2answers
198 views

Truffle deployment error while deploying with Infura (Error: Callback was already called)

I am trying to deploy a token smart contract to Ropsten test network with Infura, but I am always getting an error as I am using truffle migrate --reset --network ropsten_infura Compiling your ...
0
votes
0answers
70 views

Query returned more than 10000 results with getPastEvents

I am writing a function to sync all transactions on a particular contract from a particular account in my local database to build a dashboard for account owners. I need to fetch all the past transfer ...
0
votes
2answers
155 views

how to write backend for contract if you use infura ropsten metamask and remix

i'm using metamask with ropsten. deployed my contract on ropsten using remix. for the backend i used infura to create instance of web3. ew Web3(new Web3.providers.HttpProvider('https://ropsten.infura....
3
votes
2answers
54 views

Why does confirm that there is always 1 block apart on the mainnet when initiate multi-transactions simultaneously- by web3.py and Infura.io

1.I have a need to initiate multiple transactions to the same contract address in the fastest time and get confirmation from the network. Means that multiple transactions are recorded in the same ...
0
votes
2answers
196 views

TimeoutError when using Infura websocket with web3.py

When I run the following code sometimes it executes successfully, but most of the time it raises a concurrent.futures._base.TimeoutError. What can I do to fix this? Here is the code: infura_url_ws = ...
2
votes
1answer
225 views

Issues sending Ether with web3j

Hello guys I have search around but no reasonable explanation as to why i would get these exceptions, I have already requested and have 3 ethers with associated with my address. Here is my code for ...
0
votes
0answers
24 views

Web3 IPC provider connect?

I am using Infura web3 provider to connect etherum but I want to use IPC provider(more secure), How to use IPC provider in ethereum web3.
1
vote
1answer
725 views

Error when deploying with infura ropsten, rinkeby and kovan

when deploying to infura ropsten i get error Running migration: 1_initial_migration.js Deploying Migrations... ... 0x0ed88dd40f380a805ed0ba1b5b0a9d8178321ab6da9e5c0cb247f5700337b173 Migrations: ...
0
votes
1answer
624 views

insufficient funds for gas * price + value even though balance is way more than gas * price + value

Getting this error only on some of the wallets I tried. Too low is for sure not the problem. Working on infura. sendEth = async function(fromm, frommPUB){ fromAcc = web3.eth.accounts....
1
vote
1answer
96 views

Problems subscribing to infura via websockets

So I have a dapp that includes a node server, which I have got to work successfully using ganache, using this line: web3 = new Web3(new Web3.providers.WebsocketProvider('http://127.0.0.1:8545')) I ...
0
votes
2answers
235 views

Is there a way to get enode:// addresses of etherscan and infura nodes?

How can I get enode:// addresses of Infura and Etherscan nodes? Both mainnet and ropsten ones preferably. I would like to add them to my nodes peers list to be able to sync better. Thanks!
0
votes
1answer
81 views

CONNECTION to Rinkeby showing false, contract not getting Deployed

SOURCE CODE var Web3 = require('web3'); var Tx = require('ethereumjs-tx'); const fs = require('fs'); const solc = require('solc'); var web3 = new Web3(); web3.setProvider(new web3.providers....
3
votes
1answer
139 views

Metamas - Infura problem. Cannot read property 'currentProvider' of undefined

I got a problem. I am using code below to connect to the eth from node.js app. Everything works perfect as long as I have installed MetaMask in my browser. I can be logged in, logged out, all good ...

1
2 3 4 5
7