parseGwei
Converts a string representation of gwei to numerical wei.
Import
import { parseGwei } from 'viem'Usage
import { parseGwei } from 'viem'
 
parseGwei('420') 
// 420000000000nReturns
bigint
Parameters
value
- Type: string
The string representation of gwei.

