stack

Home > @infiniteobjects/eth-service > EthereumService > normalizeWallet

EthereumService.normalizeWallet() method

Asserts the input is a valid eth wallet and normalizes it.

Signature:

normalizeWallet(wallet?: string): string;

Parameters

Parameter Type Description
wallet string (Optional)

Returns:

string

Remarks

The normalizations are: - lowercase - Add 0x prefix