Try it Live
Run Uint examples in the interactive playground
- Effect Schema
See Also
- fromBytes - Create from byte array
- toAbiEncoded - Convert to ABI encoding
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Convert Uint256 to byte array in big-endian format
import { UintSchema } from '@tevm/voltaire/Uint/effect'
const u = UintSchema.from(1n)
u.toBytes() // Uint8Array(32) [..., 1]
Was this page helpful?
