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

TypeError [ERR_INVALID_ARG_TYPE] web3.js error

Can anyone help me fix this problem? I keep getting 'throw new ERR_INVALID_ARG_TYPE( ^ TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be one of type string, Buffer, ArrayBuffer, Array, or ...
0
votes
1answer
35 views

Calling web3.eth.getAccounts() does nothing - no errors

I am trying to get all accounts using web3@1.3.3 and @truffle/hdwallet-provider@1.2.2. I am using HDWalletProvider with Infura. I am running this code on backend (Node.js v14.15.5). This is the code ...
0
votes
0answers
18 views

web3.eth.sendSignedTransaction returns undefined [duplicate]

Please look into the below Web3 script, this is returning undefined, but it must have returned the transaction hash and its related meta data. Code: const Tx = require('ethereumjs-tx').Transaction ...
0
votes
1answer
42 views

“txHash: undefined” error using web3.js

Can anyone help me fix this problem? I get 'txHash: undefined' error in terminal var Tx = require('ethereumjs-tx').Transaction const Web3 = require('web3') const web3 = new Web3('https://ropsten....
0
votes
2answers
15 views

Deploy contract to Kovan with brownie and infura

I'm trying to simply deploy a smart contract in Kovan network, i've used the export of the ID using export WEB3_INFURA_PROJECT_ID=xxxx but i'm getting this error ValueError: The method ...
0
votes
0answers
18 views

Error: *** Deployment Failed ***

I am trying to deploy my contracts, but I keep getting the same error message: Deploying 'Migrations' ---------------------- Error: *** Deployment Failed *** "Migrations" -- sender ...
0
votes
0answers
23 views

EstimateGas reverts, actual transaction works

On Rinkeby I'm trying to estimate gas and send ERC-20 Weenus tokens. If I shove the necessary data into an estimateGas call to Infura Rinkeby it returns with an error of execution reverted. { &...
4
votes
0answers
24 views

Difference between Ethereum Web APIs and Ethereum API as a service

I am approaching ethereum for the first time and I am reading the documentation. Can anyone explain the difference between Ethereum Web APIs (BlockCypher) and The Ethereum API as a service (infura)? ...
0
votes
0answers
33 views

What is the theoretical average latency of data transmission?

I concluded a pretty simple test to measure some latencies. I connected to two providers (Infura and Quiknode) with Web3.js and subscribed to new block headers. Then I compared the time of arrival and ...
1
vote
0answers
33 views

org.web3j.protocol.exceptions.ClientConnectionException: Invalid response received on web3j on Android

I am trying to execute transactions by calling my RegisterNewUser function in the deployed smart contract through Android and I am using Infura. However, when I run, there is an error as seen below : ...
0
votes
0answers
17 views

Pros and cons of Parity, geth, infura

what are the pros and cons of each of these ethereum clients: geth, parity, infura? I want to compare them from a theoretical point of view
0
votes
0answers
52 views

Swaping ETH to DAI on Uniswap

I don't get why when trying to deploy my contract it says that gas estimation errored. Forked Mainnet with ganache-cli -f <INFURA_ID> Trying to deploy and execute following code: pragma solidity ...
0
votes
0answers
25 views

Infura eth_subscribe delayed logs

I am using eth_subscribe to subscribe to specific transactions, specifying an address filter. When using infura provider, I receive logs 5 to 10 seconds after the transaction was mined. Is there any ...
0
votes
1answer
27 views

Old contracts data not visible if pushed new contracts?

I created a contract campaign and deployed this contract in infura , then I called some functions of the contract which created the subsequent data(as in list of ongoing campaigns) in blockchain. In ...
0
votes
0answers
30 views

Trying to work with ganche-cli, truffle and infura

When trying to migrate a truffle-config.js file following error appears. TypeError: Cannot read property 'fromMasterSeed' of undefined any help would be much appreciated. const HDWalletProvider = ...
0
votes
1answer
48 views

How to call a smart contract function using Nethereum and Infura

I am using Nethereum to call a smart contract function in Ropsten. I am also using Infura. The function required the contract owner's permission to execute. This is my code: var account = new Account(...
0
votes
0answers
30 views

Cannot Deploy to Rinkeby using Truffle, Infura, and Node

I am trying to deploy a contract to Rinkeby using Node and Truffle but I get a lengthy error: Truncated Error: Attempting to deploy from account 'MYACCOUNT#' [object Object] [object Object]...
3
votes
0answers
104 views
+100

Problems calling Smart Contract function in Java using Web3j

I am rather new to writing/using smart contracts in Java and I am currently trying to use my smart contract. I already wrote and tested it, compiled it, deployed it to Ropsten, and built my Java class ...
1
vote
1answer
47 views

I am getting UnhandledPromiseRejectionWarning: Error: Returned error: execution reverted error while calling my smart contract methods using wb3js

Here is my code const web3 = new Web3(new Web3.providers.HttpProvider("https://rinkeby.infura.io/v3/2a6f2bf907594edfbe6343066c394df8")); // web3.eth.handleRevert = true var address = "...
0
votes
0answers
30 views

Transactions not getting mined (Web3.js)

I'm trying to make a simple ether transaction with web3.js. Most times I try to execute the transaction, I get the following error: Error: Transaction was not mined within 750 seconds, please make ...
1
vote
1answer
34 views

Retrieving very old events

While working with Infura in the past, if I remember correctly, I had troubles with retrieving events from old (non-recent) blocks. Does the trouble (not only with Infura but with other popular ...
0
votes
0answers
10 views

Ipfs.add not working v48.3.1

I have tried for await ipfs.files.add(this.state.buffer) I have tried ipfs.add(this.state.buffer, (error,result)=>{console.log('ipfsresult', result) I'm new to all this. Any help will be ...
0
votes
0answers
19 views

How to solve Transaction has been reverted by the EVM , In need of a solution based on my code?

I have been using ropsten with infura. SMART CONTRACT contract Don { struct Details { uint id; string name; string dob; ...
0
votes
1answer
34 views

How to get the smart contract name given the address

I've been trying to get a smart contract name given the contract address. Not a smart contract in particular, but I wanted the process to be able to get the name of any contract by the address. I've ...
0
votes
2answers
32 views

If I want to create a Blockchain Explorer, would be enough just use Infura? Or is it essential to run a full node?

I want to create a Blockchain Explorer and I am wondering if using Infura for that would be enough, or if it would be necessary to run a private node on Ethereum. I am not sure about Infura speed to ...
0
votes
1answer
18 views

How can a server except a signed tx and pay the gas?

I have a contract where users can buy "credits". With that credit, users can post a message to a server (a route set up in ExpressJS). I have the buying of credits working. But my question ...
1
vote
1answer
84 views

Error processing transaction request: already known

I'm developing an application with which you can make ERC20 token transfers. When you make transfers from one account to another with a reasonable time between transfers it works correctly. But when ...
0
votes
0answers
125 views

Infura-Like caching layer to store all Events in local nodes for fast retrieve

Anyone who has tried to use a local Ethereum node to run any complex DApp will have realized that it is impossible to do so because there is a huge problem of slowness in the retrievement of large ...
0
votes
1answer
40 views

how to use custom web3 provider for Dapp?

I used to use metamask for Dapp development..Everything works fine, but trust wallet(Dapp mobile browser) doesn't emit events comes of from contract..My Dapp is heavily rely on events..if they don't ...
1
vote
1answer
56 views

Infura: certificate has expired error when deploying on Rinkeby

I was trying to deploy some contracts on Rinkeby using Infura, and got the following error: Error: certificate has expired\n at TLSSocket.onConnectSecure (_tls_wrap.js:1088:34)\n at TLSSocket....
0
votes
0answers
55 views

Can't estimate gas on Infura using web3 or axios

I'm trying to estimate gas required to transfer usdt using Infura node but always receive gas required exceeds allowance (12451164) or always failing transaction error. I have tried both using web3 ...
0
votes
1answer
60 views

What happens if someone DOS's my infura api link?

I have an infura link, and put it on my frontend as the default provider url. What happens if someone DOS's that link and uses up the daily api request limit? It's unclear how infura protects against ...
0
votes
1answer
49 views

this error while sending transaction using infura.io . The method eth_sendTransaction does not exist/is not available,

My ERC20 token dapp is giving an error only while using 'transfer function' even when I am using a given address as defaultaccount ( otherwise the error was "No "from" address specified ...
0
votes
1answer
87 views

Get ERC20 balance of token holder as of block number with C# Nethereum and Infura

When this code runs, it throws an error "RpcResponseException: header not found", and I don't understand why or how to fix it. Any advice? Notes: I am using Nethereum in C#.net and using ...
0
votes
1answer
166 views

Easiest way monitor txpool

I'm quite new with ethereum development and I'm wondering how to monitor new transactions on the txpool in realtime with the least delay possible. Do I have to run a full geth node or are there other ...
0
votes
0answers
21 views

infura return null when eth_getTransactionReceipt

I am trying to send some test ether on Rinkeby network using Infura, Im using some php library to make it. <?php use Web3p\EthereumTx\Transaction; use Web3\Web3; $valueSend = dechex(0.1 * 10**18); ...
0
votes
1answer
40 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
2answers
149 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
62 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 ...
0
votes
1answer
24 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 ...
0
votes
0answers
51 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....
1
vote
0answers
57 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 ...
1
vote
1answer
84 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
0answers
30 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
0answers
35 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
0answers
33 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 ...
1
vote
1answer
285 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
33 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] (...
1
vote
0answers
432 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
1answer
350 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 = &...

1
2 3 4 5
8