Checks if an address is validly formatted. If a chain is not provided, we will try to determine the chain from the address.
Optional
const valid = isAddressValid('bb1xv9tklw7a7g3ll4ht2cjm6y22p2w7pk8j3w4h6');console.log(valid); Copy
const valid = isAddressValid('bb1xv9tklw7a7g3ll4ht2cjm6y22p2w7pk8j3w4h6');console.log(valid);
Checks if an address is validly formatted. If a chain is not provided, we will try to determine the chain from the address.