Go ReferenceGo Report CardCoverage StatusLatest Release
W3 Gopher
  • Batch request support significantly reduces the duration of requests to both remote and local endpoints. Up to 85x faster than sequential requests with go-ethereum/ethclient.
  • ABI bindings are specified for individual functions using Solidity syntax. No need for abigen and ABI JSON files.
  • Modular API allows to create custom RPC method integrations that can be used alongside the methods implemented by the package.

w3 is closely linked to go-ethereum and uses a variety of its types, such as common.Address or types.Transaction.

Install

go get github.com/lmittmann/w3

Let’s go!