Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 520 Bytes

eth-connect.toaddress.md

File metadata and controls

24 lines (14 loc) · 520 Bytes

Home > eth-connect > toAddress

toAddress() function

Transforms given string to valid 20 bytes-length addres with 0x prefix

Signature:

export declare function toAddress(address: string): string;

Parameters

Parameter Type Description
address string

Returns:

string