Class MirrorRestClient
The Mirror Node REST Client.
Inherited Members
Namespace: Hiero
Assembly: Hiero.dll
Syntax
public sealed class MirrorRestClient
Constructors
| Edit this page View SourceMirrorRestClient(HttpClient)
Constructor, requires a configured HttpClient including the base url.
Declaration
public MirrorRestClient(HttpClient client)
Parameters
| Type | Name | Description |
|---|---|---|
| HttpClient | client | A configured HttpClient object, must at least have the BaseAddress set for the mirror node client to function properly. |
Properties
| Edit this page View SourceEndpointUrl
The remote mirror node endpoint url.
Declaration
public string EndpointUrl { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
| Edit this page View SourceToString()
Returns a useful string representation of the client, and which mirror node it is configured to connect to.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |