Skip to content

Library to handle multi calls on any EVM blockchain

Notifications You must be signed in to change notification settings

omnes-tech/multicall

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(multicall.GENERAL, "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

About

Library to handle multi calls on any EVM blockchain

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages