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?