Wallet Class

The Wallet class represents a user's wallet retrieved from the Xerial services.


  • 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.


  • Address: A property that returns the appropriate wallet address based on the selected blockchain in the Xerial services.


using System;
namespace Xerial
    public class Wallet
        public string user;
        public string address;
        public string smartAccount;
        public bool custodial;
        public int id; 

Last updated