Skip to content

[Feat] Get Network Info #32

@wireless90

Description

@wireless90
/**
 * Get network related information such as protocol parameters and minimum pow score.
 */
async getNetworkInfo(): Promise<INetworkInfo> {
    const response = await this.methodHandler.callMethod({
        name: 'getNetworkInfo',
    });

    return JSON.parse(response).payload;
}

Metadata

Metadata

Assignees

Labels

ClientClient methodsenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions