2

Your best choice atm is to use coinmarketcap api. It gathers data from many different markets and provides an average price market. Alternatively, you can make use of markets APIs, like Kraken, Coinbase, etc .. Hope it helps.


2

You have one "blocking" transaction: https://etherscan.io/tx/0xa94a4ce8e7fe6366dcebda3cbbd01b22c1c760988c104f3c16cfab0c85b3f57b Where you are trying to transfer a token that is paused (see details): https://etherscan.io/token/0x69c4bb240cf05d51eeab6985bab35527d04a8c64#readContract So it "blocked" the rest of the transactions... NOTE: You ...


1

So I figured out my problem. It was hard to understand, but the point was that I tried to make nonce + 1 if it was equal to or less than the last time it was executed. In general, if you do not go into details, your nonce should be clearly observed. In my situation, I tried to make nonce 1 when the network was expecting nonce 0, the node thought that there ...


1

The command eth_getLogs returns transactions that generated a log entry. Ether transfers between regular accounts do not generate a log so they will not be included.


1

Don't know details about your exact case, but here are some tricks that could be used to reduce gas cost when sending tokens to may addresses: Do several transfers in one transaction. This will save you approximately 21000 gas per transfer. Make recipients pay for gas, e.g. by signing cheques for them off-chain, so they will redeem these cheques on-chain. ...


1

You'll need to implement something like this: pragma solidity 0.4.26; import './IERC20Token.sol'; contract Airdrop { address public owner; mapping(address => uint256) public balances; constructor() public { owner = msg.sender; } function transferBatch(IERC20Token _token, address[] _targets, uint256[] _amounts) external { ...


1

You can use chfast's Fakeminer to do cpu benchmarks, see https://github.com/chfast/ethash/tree/master/test/fakeminer


Only top voted, non community-wiki answers of a minimum length are eligible