
Product
Microsoft Teams Notifications Are Now Available in Socket
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.
@kargakis/ethers-multicall
Advanced tools
Make multiple Ethereum network requests in a single HTTP query. multicall3 for ethers v5.
Make multiple Ethereum network requests in a single HTTP query. multicall3 for ethers v5.
Contract(address, abi): Create contract instance; calling contract.callFuncName will yield a call objectall(calls): Execute all calls in a single requestcalls: List of helper call methodsgetEthBalance(address): Returns account ether balanceimport { Contract, Provider } from 'ethers-multicall';
import { ethers } from 'ethers';
import erc20Abi from './abi/erc20.json';
const infuraKey = 'INSERT_YOUR_KEY_HERE';
const provider = new ethers.providers.InfuraProvider('mainnet', infuraKey);
const daiAddress = '0x6b175474e89094c44da98b954eedeac495271d0f';
async function call() {
const ethcallProvider = new Provider(provider);
await ethcallProvider.init(); // Only required when `chainId` is not provided in the `Provider` constructor
const daiContract = new Contract(daiAddress, erc20Abi);
const uniswapDaiPool = '0x2a1530c4c41db0b0b2bb646cb5eb1a67b7158667';
const ethBalanceCall = ethcallProvider.getEthBalance(uniswapDaiPool);
const daiBalanceCall = daiContract.balanceOf(uniswapDaiPool);
const [ethBalance, daiBalance] = await ethcallProvider.all([ethBalanceCall, daiBalanceCall]);
console.log('ETH Balance:', ethBalance.toString());
console.log('DAI Balance:', daiBalance.toString());
}
call();
FAQs
Make multiple Ethereum network requests in a single HTTP query. multicall for ethers v5.
The npm package @kargakis/ethers-multicall receives a total of 12 weekly downloads. As such, @kargakis/ethers-multicall popularity was classified as not popular.
We found that @kargakis/ethers-multicall demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.

Security News
Socket CTO Ahmad Nassri joins AppSec leaders at Black Hat to discuss active malware, package manager risks, and software supply chain defense.