18 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
0
answers
55
views
How to test balance updation in ethers using infura provider in express backend
Below is my code snippet
import { ethers } from "ethers";
import EtherWallet from "../../models/user/etherWallet.model.js";
const provider = new ethers.JsonRpcProvider(process.env....
0
votes
0
answers
30
views
remix.ethereum.org : typing web3 on remix terminal gives "undefined"
Configured remix.ethereum.org ( Browser based Remix IDE ) .
Environment set to Injected Web3 Provider Metamask.
Network in Metamask is set to Infura Sepolia using RPC URL.
https://sepolia.infura.io/v3/...
0
votes
1
answer
260
views
Web3.py AsyncWeb3 WebSocket Connection Fails for Infura Sepolia
I’m working on an Ethereum project that connects to the Sepolia network using Infura's WebSocket endpoint (wss://sepolia.infura.io/ws/v3/<PROJECT_ID>). While the connection works fine in Postman,...
1
vote
0
answers
46
views
Is there a way to calculate "suggestedMaxPriorityFeePerGas and suggestedMaxFeePerGas", same way the INFURA Gas API do for BNB Network
The Infura Gas API response for bnb net :
{
"low": {
"suggestedMaxPriorityFeePerGas": "4.7",
"suggestedMaxFeePerGas": "4.7",
"...
0
votes
1
answer
285
views
Error: Returned error: The method eth_sendTransaction does not exist/is not available
I have a method deployed under smart contract on polygon network:
function transfer(address _to, uint256 _value) public returns (bool) {
require(_value <= balances[msg.sender]);
require(_to ...
1
vote
0
answers
150
views
I get "invalid sender" error when using eth_sendRawTransaction on infura
I am using ethereumjs-tx (^2.1.2) to sign the transaction using this code:
const Tx = require('ethereumjs-tx').Transaction
const argv = require('minimist')(process.argv.slice(2));
const privateKey = ...
1
vote
1
answer
394
views
method eth_getLogs in batch triggered rate limit
Anyone have experience in this github repo?
https://github.com/smartcontractkit/smart-contract-examples/blob/main/ccip/offchain/typescript/src/get-status.ts
I'm having some trouble in this function:
...
0
votes
2
answers
421
views
Error subscribing to events using web3.js and Infura API
I'm developing a small web3 app using Ethereum Sepolia testnet, nodejs v21, web3js v4 and Infura API. I have the following smart contrcat deployed, that emits events:
// SPDX-License-Identifier: MIT
...
0
votes
1
answer
112
views
Seeking Assistance in Retrieving Transaction Hashes for Failed Transactions Due to Out-of-Gas Errors
I need to identify transactions that have failed due to out-of-gas errors on the Ethereum blockchain. However, I'm encountering challenges in programmatically retrieving the transaction hashes for ...
1
vote
0
answers
657
views
web3.py query for Uniswap V3 Factory contract events on Arbitrum, getting all pools created since block 0, but it's missing multiple token pairs
I'm using web3.py to parse through all liquidity pools created since block 0 on Uniswap V3 Arbitrum. Atm, about 486 different pools a returned, but none of them are pool I'm expecting. Is there some ...
0
votes
1
answer
125
views
How to access the Infura IPFS api in angular
I want to send a file to Infura's IPFS API in an angular application. I understand ipfs-http-client is deprecated so I'm trying to make a call to the API using POST.
App component:
onFileSelected(...
0
votes
1
answer
630
views
Using IPFS API and Gateway with Infura to Upload Files
I created a private API key in Infura. I was given an API Key, API Key Secret, and an IPFS API Endpoint. I looked at the documentation here. I decided to go the Python route, and I tested it with one ...
0
votes
2
answers
409
views
Simple Smart Contract Deploy Script Not Deploying Properly to Ethereum Sepolia Testnet Blockchain
I have a simple smart contract code for a test ether faucet. It needs 100 wei initially to deploy:
pragma solidity ^0.8.21;
contract EthRiver {
address public owner;
uint public drip;
...
-2
votes
2
answers
362
views
VS code and connecting to Ethereum mainnet with ether.js and Infura [closed]
I don't know why it does not run and I get an error.
Network and API was declared and ethers.js library was imported.
import { ethers } from "ethers";
const network = "homestead"; ...
0
votes
1
answer
104
views
deploying of a contract with Brownie: slowness and errors
I'm currently trying to run deploy a contract on the Sepolia testnet and when I run in the terminal the following line of code
brownie run scripts/deploy.py --network sepolia
after some minute I get ...