EVM Standard Library,
for Agents & Humans.
Ox provides composable, type-safe primitives for agents and developers shipping EVM software – ABIs, signers, transactions, and more. The foundation that Viem, Wagmi, and your stack are built on.
npm i oxPrimitives, one import away.
A categorical, module-driven API. Named imports stay fully tree-shakable, so your bundle only includes what you reach for.
Abi
Learn moreBuild strictly typed ABIs and encode call data, decode results, and parse function arguments.
import { , } from 'ox'
const = .([
'function transfer(address to, uint256 amount) returns (bool)',
'function balanceOf(address owner) view returns (uint256)',
])
const = .(, 'transfer', ['0x7099…', 1000n])
'0xa9059cbb000000…00000000000000003e8' const = .(, 'balanceOf', '0x…0064')
100n