Is valid address

Check if an address is valid.

Example

const { isValidAddress } = require('obyte/lib/utils');

const isValid = isValidAddress('ULQA63NGEZACP4N7ZMBUBISH6ZTCUS2Q');
console.log(isValid);

Returns

true

Last updated