toChecksumAddress
toChecksumAddress(
address):string
Defined in: utils/to-checksum-address.ts:21
Returns an Ethereum address in proper mixed-case checksum. Does NOT support ICAP
Parameters
Section titled “Parameters”address
Section titled “address”string
An Ethereum address. Mixed, lower, and uppercase are all valid
Returns
Section titled “Returns”string
a valid checksum address
Example
Section titled “Example”toChecksumAddress('0xfB6916095ca1df60bB79Ce92cE3Ea74c37c5d359');// '0xfB6916095ca1df60bB79Ce92cE3Ea74c37c5d359'Similar to “getAddress” in ethers.js
Similar to “toChecksumAddress” in web3.js