Skip to content

Introduction to Clients & Transports

A brief introduction to Clients & Transports.

Clients

A Client provides access to a subset of Actions.

A Client in the context of viem is similar to an Ethers.js Provider.

There are three types of Clients in viem:

Transports

A Client is instantiated with a Transport, which is the intermediary layer that is responsible for executing outgoing requests (ie. RPC requests).

There are three types of Transports in viem: