public virtual string BinaryAddress(string aAddress) { string lResult = CoinScriptAddress.AddressToBinString(aAddress, Network); if (string.IsNullOrEmpty(lResult)) { throw new ArgumentException($"The address '{aAddress}' for the {Network.NetworkName} network is invalid."); } return(lResult); }
public virtual bool IsValidAddress(string aAddress) { return(CoinScriptAddress.IsValid(aAddress, Network)); }