Shortens a sei address to display it in the format sei...xxxxx where xxxxx is the last five characters of the address.
Used to display sei address in an easily identifiable way.
truncateSeiAddress(address:string):string
Parameters
address: string
The address to truncate
Returns string
A shortened version of the address in the format sei...xxxxx. Returns the input address if it is not a valid sei address.
Shortens a sei address to display it in the format sei...xxxxx where xxxxx is the last five characters of the address. Used to display sei address in an easily identifiable way.