@chorus-one/ethereum
Version:
All-in-one toolkit for building staking dApps on Ethereum network
9 lines (8 loc) • 319 B
TypeScript
/**
* Validates if an address is a standard Ethereum address (0x01 withdrawal credentials)
*/
export declare function isStandardAddress(address: string): boolean;
/**
* Validates if an address uses compounding withdrawal credentials (0x02)
*/
export declare function isCompoundingAddress(address: string): boolean;