Home > eth-connect > toAddress
Transforms given string to valid 20 bytes-length addres with 0x prefix
Signature:
export declare function toAddress(address: string): string;
Parameter | Type | Description |
---|---|---|
address | string |
Returns:
string
Home > eth-connect > toAddress
Transforms given string to valid 20 bytes-length addres with 0x prefix
Signature:
export declare function toAddress(address: string): string;
Parameter | Type | Description |
---|---|---|
address | string |
Returns:
string