Linked Questions

0
votes
3answers
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’...
1
vote
2answers
573 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(...
1
vote
1answer
597 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 =...
0
votes
0answers
562 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 ...
0
votes
1answer
228 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 ...
1
vote
0answers
292 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 ...
1
vote
1answer
113 views

Infura event listening [duplicate]

I am using Infura, Ropsten Test network, Web3@0.20 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? ...
3
votes
2answers
720 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 (web3@1.0.0-beta.51) as follows: I connect to an INFURA ...
1
vote
2answers
525 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 ...
1
vote
1answer
152 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 ...
1
vote
0answers
46 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 ...
2
votes
0answers
44 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 ...