Format an address to a more readable format
formatAddress('0xbF6692795A07684147838fC54A2764aa884C440c') // '0xbF66...440c'formatAddress('0xbF6692795A07684147838fC54A2764aa884C440c', 8, 8) // '0xbF6692...884C440c' Copy
formatAddress('0xbF6692795A07684147838fC54A2764aa884C440c') // '0xbF66...440c'formatAddress('0xbF6692795A07684147838fC54A2764aa884C440c', 8, 8) // '0xbF6692...884C440c'
The address to format
The number of characters to keep at the beginning
The number of characters to keep at the end
The formatted address
Format an address to a more readable format
Example