fromSCVal

Creates a new Address from a SCValXdr XDR object.

Return

a new Address object from the given XDR object

Parameters

scVal

the SCValXdr object to convert

Throws

if the scVal type is not SCV_ADDRESS