Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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
9 views

What is the client version?

I am using Infura and web3.py. When I connect to Infura the web3 object has a clientVersion property that reads this from JSON RPC "Geth/v1.8.15-omnibus-255989da/linux-amd64/go1.10.1" Can someone ...
2
votes
1answer
7 views

Error trying to get events in web3.py via Infura

I was trying to get all events from my smart contract (in Ropsten) via Infura node. The problem is that I know that Infura does no support creating filters, but I don't know how to get events by ...
0
votes
0answers
9 views

How do you mint tokens on Compound Finance with Infura and Web3

I'm new to Compound and I'm trying to get minting/redeeming implemented in my app using Infura (Ropsten) as my httpProvider for Web3. I understand that Infura doesn't allow invocation of ...
0
votes
0answers
35 views

Infura API: getPastLogs times-out, even when there are less than 2500 records

I would like to receive all event logs for a particular topic of an event log. I know there is a limit of 10,000 records, but the getPastLogs function times-out when less than 2,500 records need to be ...
0
votes
1answer
14 views

AttributeError while trying to call a contract using web3py and Infura

I am trying to call a function from an already-deployed contract on the Ropsten network: from web3 import Web3 infura_url = "https://ropsten.infura.io/v3/XXXXXXXXXXXXXX" w3 = Web3(Web3.HTTPProvider(...
0
votes
1answer
25 views

Error sending ether to a a smart contract deployed in ropsten with web3 with python

I am trying to send ether to a smart contract deployed on ropsten via infura, but I am having some problems in txn. The error is "Error in Txn: Reverted". The sender account has enought ether to ...
1
vote
2answers
44 views

How to post to the blockchain without a third party API like infura

I have been using web3 nodejs and infura.io to build apps that interact w/ the Ethereum Blockchain and it is all great but I don't like the idea of a failure point my my apps because they rely on a ...
0
votes
1answer
26 views

Unlock Ethereum account via infura

I am trying to connect my wallet (Metamask) via Infura, but I receiving an error. My code: [HttpPost] public async Task<IActionResult> LoginAsync([ModelBinder(typeof(AccountBinder))] ...
0
votes
2answers
23 views

Why use nodepools or backends?

I have a fundamental question about eth/blockchain infrastructure. I see several posts talking about the need for backend node infrastructure when launching a dapp/ smart contract. This infrastructure ...
0
votes
0answers
13 views

How to deploy contract using ropsten infural url and web3.py? [duplicate]

# web3.py instance >>> w3 = Web3(Web3.EthereumTesterProvider()) # set pre-funded account as sender >>> w3.eth.defaultAccount = w3.eth.accounts[0] # get bytecode >>> ...
1
vote
1answer
50 views

ipfs.infura.io for IPFS gateway and pinning

I'm using Infura API for initializing IPFS. IPFS uses garbage collector to clean 2 weeks old unpinned data in public gateway. So, if I'll pin my hash is it possible that IPFS will still delete my ...
0
votes
0answers
40 views

Events using Infura websockets on rinkeby Web3 1.2.1. Returned values aren't valid, did it run Out of Gas?

I am trying to do a simple event listener with NodeJS and Web3 using an Infura endpoint. I have the correct project-id const Web3 = require('web3'); let web3 = new Web3( // Replace YOUR-PROJECT-ID ...
1
vote
3answers
73 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
42 views

Could I use Infura to get the token details?

I went through https://infura.io/docs but not sure if Infura could allow me to read token details like owner, token Id, etc. I also googled on how to read token using Infura but to no avail. Has ...
1
vote
2answers
29 views

Insufficient funds when transferring ERC-20 token using web3

I am trying to send an ERC-20 token on Mainnet using web3 v1.x and Infura. I get the error in the title while executing this code. I have a balance of about 0.14 ETH var provider = new ...
0
votes
1answer
32 views

Do I need to build my own Ethereum block explorer to read my own tokens and smart contract?

I'm new to blockchain. I find that Etherscan's UI/UX is too complicated for average person to use. I basically need my users to read my Ethereum smart contract transactions and to view their own ...
0
votes
0answers
36 views

Do send raw transactions consume extra gas as opposed to a send transaction

I would assume the portion of verifying the signature consumes gas. I'm asking this because it seems infura does not handle signed transactions and I have a getBalance Call that is failing. I would ...
0
votes
1answer
63 views

getting full pending transactions from Infura

I use Infura to get all pending transactions from Ropsten: web3.eth.subscribe('pendingTransactions', async (error, txHash) => { let tx = getTransaction(txHash) ... } With this ...
0
votes
0answers
16 views

web3py Filter Contract Events

I am new to web3py and I am trying to filter the events of a certain ERC20 contract. I can successfully call the contract's functions, but I struggle with the events. contract = w3.eth.contract(...
0
votes
1answer
47 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 = ...
0
votes
1answer
30 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 ...
1
vote
0answers
27 views

How does getDefaultProvider work in ethers.js?

From the docs: This creates a FallbackProvider backed by multiple backends (INFURA and Etherscan). This is the recommended method of connecting to the Ethereum network if you are not running ...
1
vote
1answer
33 views

Connecting to Rinkeby using Infura and calling a state-changing function from smart contract

So i have trouble using a smart contract on Rinkeby through infura as it gives an "extra-data" error, which as far as i have read, is due to Rinkeby being a POA testnet. There are suggestions of using ...
0
votes
1answer
79 views

How to connect with WebSocket with Web3?

Already referred web3 documentations and other Q-A for web socket connection. Currently using infura as provider.
0
votes
2answers
42 views

truffle migrate fails silently

I'm trying to deploy a truffle project to testnet. When I run truffle migrate --reset --network rinkeby --verbose-rpc, this is output: You can improve web3's peformance when running Node.js versions ...
0
votes
1answer
80 views

Is there any working provider for Ethereum Classic APIs?

Provider used for Ethereum is Infura, but there is no any provider for Ethereum Classic. Previously tested Ethercluster endpoint to access APIs for Ethereum Classic, not able to connect with Kotti ...
0
votes
1answer
17 views

Storing results on web3 call in JavaScript Object

Disclaimer: Terrible at Javascript I am trying to loop through events and store the block number, to and from accounts in a Javascript object. I am not sure what I am doing wrong, but it isnt working ...
0
votes
1answer
25 views

Cannot connect to Infura

I recently registered to Infura and trying to connect to the Ethereum Mainnet using the command below ({MY_PROJECT_ID} is swapped for my actual project id) curl -H 'Content-Type: application/json' \ ...
0
votes
0answers
27 views

Infura returns block: null when query is for “block: null”

Sometimes, when I call getBlock('latest') function on my infura node, it returns block: null wh
1
vote
1answer
33 views

How to get events on android with infura?

I am developing an app on Android, but Web3j does not support events on infura ( Should I use Infura with Web3j for Event filter? ) . What are the options, I did not find any alternative library?
0
votes
1answer
55 views

Web3 0.20 contract deployment

environment: Web3 0.20.7,Infura,node.js(backend) Deploy contract with Web3 0.20.7 pragma solidity ^0.5.1; contract Bang{ address holder; address proxy; constructor (address _holder, ...
0
votes
1answer
109 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'. ...
1
vote
2answers
86 views

How to get the miner address of a block with infura Rinkeby endpoint?

I've read some docs online that to get the miner/sealer/signer address of a particular block that runs with the Ethereum PoA/Clique consensus (the Rinkeby testnet for example), I need to call the ...
1
vote
0answers
131 views

Cannot read property 'type' of undefined - abi-coder

I'm creating a simple voting contract. It is deployed with truffle and infura. This is the contract code: pragma solidity >=0.4.21 <0.6.0; contract Voter { struct OptionPos { uint ...
0
votes
1answer
73 views

What's the difference between ipfs.infura.io vs ipfs.io

When saving ipfs hash, i find that ipfs.infura.io is x10 faster than ipfs.io. If the public gateway (ipfs.io) has a negative impact on user experience due to its slowness, why people would use that ...
0
votes
0answers
67 views

intermediate value is not iterable

I try to construct a transaction with Node (11.4.0), ethereumjs-tx (1.3.7) and web3 (1.0.0-beta.55) and Infura. Infura gives me '0x35b' for the nonce, then I create the tx: amount = 0.001; nonce = '...
0
votes
2answers
71 views

Truffle migrate --network ropsten always runs development network

I am trying to deploy a simple contract to the Ropsten network using Truffle and Infura. I have set up the Ropsten network in the truffle-confug.js file but it seems truffle always uses the ...
0
votes
0answers
135 views

Why does the error Invalid response received: 403;?

Develop a java project to connect to ethereum blockchain and until now no error has been presented, but now this error appeared:   org.web3j.protocol.exceptions.ClientConnectionException: Invalid ...
0
votes
2answers
43 views

Cannot declare web3 object in JavaScript

When I try to declare a web3 object It's always undefined. I'm writting in JavaScript and using Infura as my provider for the ETH mainnet. I also tried with a local blockchain instead of Infura, but ...
0
votes
2answers
222 views

Infura Request Limitations

Are there any official information about request limitations? I know for example that there is a limit for the amount of results in getLogs: https://infura.io/docs/ethereum/json-rpc/eth_getLogs ...
1
vote
0answers
36 views

Trying and failing to switch my dapp from local node to infura, please help? [closed]

I have a nodejs 'server' running that listens for events on the blockchain. Currently I have this line in my code: var provider = new Web3.providers.HttpProvider("http://localhost:8545"); But I'm ...
1
vote
0answers
50 views

Using web3j with infura returns null

I've used web3.js to handle my contracts, and it worked very well. But web3j is pretty hard for me since the beginning. I'm using android studio, infura, web3j. Since I don't know very much about ...
0
votes
1answer
79 views

Web3 connecting to Infura

installed web3 and follwed steps int he image
1
vote
1answer
21 views

Developer downloading ledger reasoning? [duplicate]

My question is a little odd, but I will ask it anyways. From a development perspective, knowing that there is a service such as Infura, why would a developer download the whole ledger? Infura ...
0
votes
2answers
61 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....
0
votes
1answer
160 views

How to use eth_newFilter to get pending incoming transactions to a contract?

I'm trying to get pending transactions to a certain contract using Infura. Is it possible to do that using eth_newFilter? Since apparently these filters only "trigger" from contract events, does that ...
1
vote
0answers
38 views

Infura websocket API timing out on connect

Has anyone ever had issues with the Infura Websocket API suddenly ceasing to respond. I have been using it to subscribe to event logs, but now the connection to the API is timing out.
0
votes
1answer
247 views

The method eth_sendTransaction does not exist/is not available on infura

Im trying to send transaction to simple greeter contract with web3.js on infura node.while doing soo, Im getting this error. throw errors.InvalidResponse(result); ^ Error: The method ...
0
votes
1answer
221 views

Transaction stuck in 'Pending' state when using 'sendSignedTransaction'

I am trying to execute a transaction by first signing it with my private key using ethereumjs-tx and then using sendSignedTransaction to send the transaction to the network. But somehow the ...
0
votes
1answer
85 views

Unable to Deploy Smart-contract to Ropsten from Truffle using Infura

I want to deploy my smart-contract on ropsten or rinkeby network from Truffle using Infura API, but face difficulty in deploying on any network. I am using windows and my contract works well on ...