Home > @infiniteobjects/eth-service > EthereumService > normalizeWallet
Asserts the input is a valid eth wallet and normalizes it.
Signature:
normalizeWallet(wallet?: string): string;
| Parameter | Type | Description |
|---|---|---|
| wallet | string | (Optional) |
Returns:
string
The normalizations are: - lowercase - Add 0x prefix