UNPKG

ethereum-multicall-extended

Version:

Multicall allows multiple smart contract constant function calls to be grouped into a single call and the results aggregated into a single result

16 lines (15 loc) 493 B
import { Provider } from '@ethersproject/providers'; interface MulticallOptionsBase { multicallCustomContractAddress?: string; tryAggregate?: boolean; } export interface MulticallOptionsWeb3 extends MulticallOptionsBase { web3Instance: any; } export interface MulticallOptionsEthers extends MulticallOptionsBase { ethersProvider: Provider; } export interface MulticallOptionsCustomJsonRpcProvider extends MulticallOptionsBase { nodeUrl: string; } export {};