Home Reference Source
public class | source

NodeAPIPublicNodes

You can directly use an instance of this class. nodeAPIPublicNodes

Method Summary

Public Methods
public

async lastBlocksMined(req: *, res: *): {"result": *, "message": *}

public

async nodesList(req: *, res: *): {"result": *, "message": *}

Private Methods
private

_getCity(geoLocation: *): *

Public Methods

public async lastBlocksMined(req: *, res: *): {"result": *, "message": *} source

Params:

NameTypeAttributeDescription
req *
res *

Return:

{"result": *, "message": *}

public async nodesList(req: *, res: *): {"result": *, "message": *} source

Params:

NameTypeAttributeDescription
req *
res *

Return:

{"result": *, "message": *}

Private Methods

private _getCity(geoLocation: *): * source

Params:

NameTypeAttributeDescription
geoLocation *

Return:

*