Home Reference Source
public class | source

NodeAPIPrivate

You can directly use an instance of this class. nodeAPIPrivate

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public

minerBalance(req: *, res: *): {"address": *, "balance": *}

public

async walletCreateTransaction(req: *, res: *): *

public

async walletExport(): {"result": *}

public

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

Public Constructors

public constructor() source

Public Methods

public minerBalance(req: *, res: *): {"address": *, "balance": *} source

Params:

NameTypeAttributeDescription
req *
res *

Return:

{"address": *, "balance": *}

public async walletCreateTransaction(req: *, res: *): * source

Params:

NameTypeAttributeDescription
req *
res *

Return:

*

public async walletExport(): {"result": *} source

Return:

{"result": *}

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

Params:

NameTypeAttributeDescription
req *
res *

Return:

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