Class Client

Massa Web3 Client object wraps all public, private, wallet and smart-contracts-related functionalities.

Implements

Constructors

  • Constructor of the Client class.

    Parameters

    • clientConfig: IClientConfig

      client configuration object.

    • Optional baseAccount: IBaseAccount

      base account to use for signing transactions (optional).

    • Optional publicApiClient: PublicApiClient

      public api client to use (optional).

    • Optional mnsResolverAddress: string

      MNS resolver address to use (optional).

    Returns Client

Properties

clientConfig: IClientConfig

client configuration object.

mnsResolverVar: MnsResolver
privateApiClient: PrivateApiClient
publicApiClient: PublicApiClient
smartContractsClient: SmartContractsClient
walletClient: WalletClient

Methods

Generated using TypeDoc