@kodex-data/multicall
Version:
`@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
17 lines (12 loc) • 635 B
Markdown
# -data/multicall
`-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 `-data/multicall`, run the following command in your project directory:
```shell
yarn add -data/multicall
# or
npm install -data/multicall
```
```typescript
import { MultiCall } from '@kodex-data/multicall'
```