formatGwei
Converts numerical wei to a string representation of gwei.
Import
ts
import { formatGwei } from 'viem'
Usage
ts
import { formatGwei } from 'viem'
formatGwei(1000000000n) 
// '1'
Returns
string
Parameters
value
- Type: 
bigint 
The gwei value.