Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [batch]

The tag has no usage guidance.

0
votes
2answers
32 views

Calling Truffle Commands through a script

I made following contract using visual studio code pragma solidity ^0.4.17; contract IDSCheck { mapping( string => string ) PersonHash; function AddHash(string name, string hash) { ...
0
votes
0answers
92 views

Web3JS Batch transactions

So I have a script that distributes erc20 to multiple wallet addresses, but it creates a individual transaction for each address. Is it possible to group this transactions and save on gas cost? I ...
0
votes
0answers
69 views

Batched RPC requests

My Dapp stores a bunch of stuff and I need to query that stuff on my web server using geth. It requires about 10,000 (reads, no transactions) calls to do what I want (I don't want to change the ...
2
votes
1answer
244 views

JSONRPC method should be specified for params: “undefined” while batching the requests in web3 js

I am able to get the balance for an erc20 tokens in a loop, but when I try to use BatchRequest I get the following error JSONRPC method should be specified for params: "undefined" Below code is ...
1
vote
0answers
50 views

Estimating gas costs for large batch of transactions

I noticed on EthGasStation the following below the estimated gas prices: Note: Estimates not valid when multiple transactions are batched from the same address or for transactions sent to addresses ...
3
votes
0answers
230 views

How to do batch transaction in Ethereum using web3j

I want to do batch transaction using the web3j,So how can I do it? Is there any way or feature web3J provides
2
votes
2answers
377 views

Consolidate Batch of ETH Wallets w/ERC20 Tokens?

I have a large number of Ethereum wallets with small amounts of ERC-20 tokens in each. How can I send all of these tokens to a single ethereum wallet without doing this process manually? (it would ...
1
vote
2answers
642 views

Best practice for multiple dependent requests in Web3.js

Looking to get some advice on a pretty common scenario using Web3.js Let's say you want to calculate the number of tokens for a specific ERC20 token contract that are present at an Ethereum Address. ...
0
votes
0answers
183 views

MetaMask Confirm Transaction Limit

I have the following function to send an ERC20 Token to a JSON list of addresses using metamask and web3. Everything works however whenever I run the script metamask only pulls up 34 of the ...
0
votes
1answer
324 views

How to execute web3 batch js file

New to solidity programming and I discovered this today at this site: var contract = new web3.eth.Contract(abi, address); var batch = new web3.BatchRequest(); batch.add(web3.eth.getBalance.request('...
0
votes
0answers
161 views

web3.createBatch results in error 'jsonrpc method should be specified!'

var Web3 = require('web3'); var web3 = new Web3(new Web3.providers.HttpProvider('http://localhost:8545')) var browser_simple_sol_eventsContract = web3.eth.contract([{"constant":false,"inputs":[{"...
6
votes
1answer
3k views

Ethminer “No GPU device with sufficient memory was found”

I have two Sapphire Nitro+ RX 480 OC cards. When only one is inserted into a PCIe slot, I am able to mine ETH with no issues. When both are inserted into PCIe slots, my terminal returns: "No GPU ...
3
votes
0answers
2k views

Use of web3.js batch requests

The web3.js API allows for synchronous RPC batch requests with the example given as: var batch = web3.createBatch(); batch.add(web3.eth.getBalance.request( '...