EVM
toViewOnlyAccount
Create a view-only viem Account for an address. Any signing operation throws.
Useful as an account owner when signing happens elsewhere (e.g. a server-held
session signer), so the SDK can read from the account without holding a key.
Was this page helpful?