pub fn validate<Addr: Address + ?Sized>(
address: &Addr,
metadata: &Metadata,
) -> Result<(), Error>
Expand description
Run the validation logic against some custom value address you’d like to access. Returns Ok(())
if the address is valid (or if it’s not possible to check since the address has no validation hash).
Returns an error if the address was not valid (wrong name, type or raw bytes)