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