Converts numerical wei to a string representation of ether.
Optional
import { formatEther } from 'viem'formatEther(1000000000000000000n)// '1' Copy
import { formatEther } from 'viem'formatEther(1000000000000000000n)// '1'
Converts numerical wei to a string representation of ether.