UNPKG

multichain-address-validator

Version:

Multichain address validator for Bitcoin and other blockchains.

11 lines (10 loc) 244 B
export function getAddress(address) { return typeof address === 'string' ? address : address.address; } export function getMemo(address) { return typeof address === 'string' ? undefined : address.memo; }