Skip to content

Introduction to Wallet Actions

A brief introduction to Wallet Actions in viem.

Wallet Actions are actions that map one-to-one with a "wallet" or "signable" Ethereum RPC method (eth_requestAccounts, eth_sendTransaction, etc). They are used with a Wallet Client.

Wallet Actions require special permissions and provide signing capabilities. Examples of Wallet Actions include retrieving the user's account addresses, sending a transaction, and signing a message.

Wallet Actions provide a secure and flexible way to access the user's accounts and perform actions on the Ethereum network. They are commonly used by dapps and other applications that need to execute transactions, interact with smart contracts, or sign messages.