@kodex-data/multicall
v0.0.1-rc.11
Published
`@kodex-data/multicall` is a JavaScript library that allows you to batch multiple Ethereum read-only calls into a single request, reducing the number of RPC calls and improving performance. It supports the `eth_call` method and the `multicall` contract, w
Downloads
21
Readme
@kodex-data/multicall
@kodex-data/multicall
is a JavaScript library that allows you to batch multiple Ethereum read-only calls into a single request, reducing the number of RPC calls and improving performance. It supports the eth_call
method and the multicall
contract, which is a gas-efficient contract that enables multiple read-only calls in a single transaction.
Installation
To install @kodex-data/multicall
, run the following command in your project directory:
yarn add @kodex-data/multicall
# or
npm install @kodex-data/multicall
import { MultiCall } from '@kodex-data/multicall'