LIVE
$7.62 min profit is yours / per trade
Get the bot

Definition

viem

A TypeScript library for Ethereum that backs wagmi.

viem

viem is a TypeScript library for interacting with Ethereum-compatible chains. It provides low-level RPC transport, request/response utilities, and helpers for signing and serialising transactions and messages. Many higher-level libraries — notably wagmi — build on viem as their core request and signing layer.

In context

On PolyArb, viem runs under the hood as part of the stack that handles wallet transport and signature workflows. When you connect a wallet or sign a transaction through a supported connector, viem's utilities help format JSON-RPC calls, manage request lifecycles, and produce the cryptographic signatures that Polymarket's relayer expects. viem itself is chain-agnostic and commonly used with Polygon (chain ID 137) in our environment.

See also

  • /glossary/wagmi

Related terms