Linked Questions

0 votes
3 answers
1k views

Infura .watch Error: Invalid JSON RPC response: “” [duplicate]

I’m trying to use the .watch() command on an event in my contract. Whenever I run the .js file, I’m presented with the following: Error: Invalid JSON RPC response: “” I’m not at my computer and can’...
noob_23's user avatar
  • 11
1 vote
2 answers
899 views

Unable to call event using web3.js and infura [duplicate]

My event call is event AmountChanged(address indexed purchaser, uint256 value); My function in solidity function () external payable { uint256 amountinwei = msg.value; AmountChanged(...
Muddassar Shaikh's user avatar
1 vote
1 answer
1k views

UnhandledPromiseRejectionWarning: Error: Subscriptions are not supported with the CustomProvider [duplicate]

Trying to deploy the newly created contract into rinkeby test network but got struck with the below error. Please check the code, error message and package.json details below. const HDWalletProvider =...
Darey's user avatar
  • 121
1 vote
1 answer
879 views

Infura event listening [duplicate]

I am using Infura, Ropsten Test network, [email protected] in the back-end of my Express website. I want to listen events in my ERC20 contract. I tried a lot of methods, but still failed. How do I revise it? ...
user53449's user avatar
0 votes
0 answers
766 views

Web3.providers.HttpProvider is deprecated? How to transition to WebsocketProvider [duplicate]

As per https://web3js.readthedocs.io/en/1.0/web3.html#value the HttpProvider is deprecated. Using the web3 beta 1.0. It seems funny to me that it would be being deprecated. But I am curious as to how ...
Duncan Brain's user avatar
0 votes
1 answer
328 views

infura don't catch event [duplicate]

when i'm working on ganache all event that i have emit are store in my nodejs server but when i turn to kovan or ropsten my server don't catch event . i'm working with infura this my code no ...
Josue Guessennd's user avatar
1 vote
0 answers
349 views

Not able to view Token Transfers Using Infura and Web3? [duplicate]

I am trying to get insight into token transactions for various smart contracts using infura and web.py. The following snippet of code I thought should return me transactions for that contract, but I'm ...
trystuff's user avatar
  • 111
2 votes
2 answers
1k views

How long can events be retrieved for?

Does anyone know how long events can be retrieved for? I have events on the Kovan contract at 0x86e5b6d7648b8b994886aeb98e2b4770675e608d and it appears I can no longer retrieve events older than 14 ...
chuacw's user avatar
  • 306
3 votes
2 answers
1k views

Promise not resolved for web3eth.sendSignedTransaction

I am testing whether transactions that I'm signing offline are accepted by the Ropsten network. I'm submitting the transactions using Web3.js ([email protected]) as follows: I connect to an INFURA ...
econdepe's user avatar
1 vote
1 answer
566 views

Unable to deploy smart contract to rinkeby using ledger wallet?

I am trying to deploy smart contract using ledger wallet. But i keep getting the error cant subscribe to new header. However i get the transaction hash but cant receive the contract instance and ...
Sarmad Khan's user avatar
2 votes
0 answers
120 views

Accessing the network through light node

I've been trying, unsuccessfully, to make a web3.py app that needs to catch events, with the use of filters. After hours and hours of testing it appeared the problem was that Infura, which is the ...
Gustaf Bergmark's user avatar
1 vote
0 answers
76 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 ...
pumpkinfeet's user avatar