UNPKG

@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
# @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: ```shell yarn add @kodex-data/multicall # or npm install @kodex-data/multicall ``` ```typescript import { MultiCall } from '@kodex-data/multicall' ```