Wallet Class
The Wallet class represents a user's wallet retrieved from the Xerial services.
Properties
user: A string representing the user associated with the wallet.
address: A string representing the wallet address.
smartAccount: A string representing the smart account associated with the wallet (specific to the Polygon chain).
custodial: A boolean indicating whether the wallet is custodial.
id: An integer representing the ID of the wallet.
Methods
Address: A property that returns the appropriate wallet address based on the selected blockchain in the Xerial services.
Example
Last updated