getAddress static method

String getAddress(
  1. String address
)

Returns address as a Checksum Address.

If address is an invalid 40-nibble HexString or if it contains mixed case and the checksum is invalid, an INVALID_ARGUMENT Error is thrown.

The value of address may be any supported address format.

Implementation

external static String getAddress(String address);