Categorygithub.com/rocket-pool/batch-query
modulepackage
1.0.0
Repository: https://github.com/rocket-pool/batch-query.git
Documentation: pkg.go.dev

# README

batch-query

Batch-query is a library with utilities that can query multiple values on the Ethereum blockchain at once. It's intended to reduce the RPC overhead associated with running multiple eth_call invocations simultaneously.
It comes with two main structs:

# Functions

Creates a new BalanceBatcher instance.
Creates a new MultiCaller instance with the provided execution client and address of the multicaller contract.

# Structs

This struct can query the ETH balances of multiple addresses within a single call to an Execution Client.
A single contract call wrapper.
The response from a contract call invocation.
MultiCaller is capable of batching multiple arbitrary contract calls into one and executing them at the same time within a single `eth_call` to the client.

# Interfaces

This is an Execution client binding that can call a contract function.