INFURA / infura

Official Public Repository for INFURA
https://infura.io
381 stars 62 forks source link

Batch request limitation ? #105

Open CruiseMan opened 6 years ago

CruiseMan commented 6 years ago

I can't find any information here http://web3js.readthedocs.io/en/1.0/include_package-core.html?highlight=batch#batchrequest on batch request limitation. In particular i'm creating batch request to return ~1300-1500 transactions receipts on Ropsten network and getting Invalid JSON RPC response {}, but in the future i will need more to query.

rzadp commented 5 years ago

Hey @CruiseMan , I'm trying to use batchRequest and I'm having some trouble.

I'm getting Invalid JSON RPC response: {} even with one or two requests. I suspect that it's because the transactions are not signed? For regular transactions I use signTransaction and sendSignedTransaction. I can't make out a way to sign transactions in batchRequest

Could you please nudge me in the right direction? I'm using Ropsten, Infura, and Web3 1.0.0-beta.34

EDIT: I want to use send() transactions, as opposed to call()