ggez-banking-sdk
Version:
A Node.js package to handle GGEZ Banking API endpoints, Simplify the process of managing CRUD operations with this efficient and easy-to-use package.
13 lines (12 loc) • 367 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
function chainAddressMasking(address) {
if (!address) {
return "loading";
}
if (typeof address === "string") {
return `${address.substring(0, 15)}...${address.substring(address?.length - 5)}`;
}
return "loading";
}
exports.default = chainAddressMasking;