ethereum-multicall
ethereum-multicall copied to clipboard
Ability to call many ethereum constant function calls in 1 JSONRPC request
Multicall doesn't return result with same type like BigNumber from "ether" when using singlecall !!!
Mulltilcall returns CallValueResult with type: { type: "BigNumber", hex: "0x0176b344f2a78c0000" }, It doesn't the same type as I call single. This case type is likely { BigNumber } from "ether."...
Add the ability to specify a generic type for multicall response: `multicall.call` This will enable adding [typesafe](https://github.com/dethcrypto/TypeChain) bindings to contract calls
Hello. Is it possible to map a reference from 1 contract call to be passed as a value to another contract call? So I would like to get a PAIR...
Did not have time to cover this with unit tests so when I get time make sure we cover the lot before it's used in many projects.
If i get request for multicall data on specific block wich happened in 2023 i getting result as i should, but if i request data for Eth from 2019 im...
https://81457.routescan.io/address/0xcA11bde05977b3631167028862bE2a173976CA11
``` const ethereumMulticall = require("ethereum-multicall"); const { ethers } = require("ethers"); // let provider = ethers.getDefaultProvider(); async function go() { // you can use any ethers provider context here this...
Hi, I would like to ask how can I get balance of a native token in a wallet. Like the below code, ``` import {ContractCallContext, Multicall,} from 'ethereum-multicall'; import {ethers}...
This includes an upgrade to ethers 6. Mostly following the migration guide here: https://docs.ethers.org/v6/migrating/ It's a pretty big change API wise. I'm not sure if the intention was to maintain...
I am using ```javascript const { Multicall } = require("ethereum-multicall"); const poolABI = require('./utils/uniswapPairV2ABI.json'); const { ethers } = require("ethers"); const { wsURL } = require("./config.js"); const { Web3 }...