Skip to content

Repository files navigation

multicall: Perform multiple calls using only one RPC call

Go Reference Go Report Card Coverage Status Latest Release

Carry out several calls with only one RPC call.

go get github.com/omnes-tech/multicall

At a Glance

Instantiate the multicall client:

client, err := multicall.NewClient("http://localhost:8545", nil)
if err!= nil {
    log.Fatal(err)
}

Now you just need to call any method you need!

Write (transaction) functions:

  • AggregateCalls
  • TryAggregateCalls
  • TryAggregateCalls3

Read (call) functions:

  • SimulateCall
  • AggregateStatic
  • TryAggregateStatic
  • TryAggregateStatic3
  • CodeLengths
  • Balances
  • AddressesData

Deployed Smart Contracts

Check out the deployed addresses here on different chains.

About

Library to handle multi calls on any EVM blockchain

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages