Appearance
Converts numerical wei to a string representation of ether.
import { formatEther } from 'viem'
import { formatEther } from 'viem' formatEther(1000000000000000000n) // '1'
string
bigint
The wei value.