toSCAddress

Converts this object to its SCAddressXdr XDR object representation.

Return

a new SCAddressXdr object from this object

Throws

if the address type is unsupported or data is invalid