Home > @primitivefi/rmm-sdk > validateAndParseAddress
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Validates an address and returns the parsed (checksummed) version of that address.
Signature:
export declare function validateAndParseAddress(address: string): string;
Parameter | Type | Description |
---|---|---|
address | string | the unchecksummed hex address. |
Returns:
string
Throws if address
is an invalid hex address.