Module: lib/operations/blockchains

Module with api blockchains endpoint handlers

Source:
Tutorials:

Methods

(inner) createAccount(req, res, operationId, callback)

Creates account on specified blockchain

Parameters:
Name Type Description
req Object

the http request

res Object

the http response

operationId string

the operation id as defined in the openapi definition

callback logEndpointEventCb
Source:

(inner) createSignature(req, res, operationId, callback)

Requests a Whiteflag authentication signature

Parameters:
Name Type Description
req Object

the http request

res Object

the http response

operationId string

the operation id as defined in the openapi definition

callback logEndpointEventCb
Source:

(inner) deleteAccount(req, res, operationId, callback)

Deletes account on specified blockchain

Parameters:
Name Type Description
req Object

the http request

res Object

the http response

operationId string

the operation id as defined in the openapi definition

callback logEndpointEventCb
Source:

(inner) getAccount(req, res, operationId, callback)

Provides specific blockchain account from state module

Parameters:
Name Type Description
req Object

the http request

res Object

the http response

operationId string

the operation id as defined in the openapi definition

callback logEndpointEventCb
Source:

(inner) getAccounts(req, res, operationId, callback)

Provides all blockchain accounts from state module

Parameters:
Name Type Description
req Object

the http request

res Object

the http response

operationId string

the operation id as defined in the openapi definition

callback logEndpointEventCb
Source:

(inner) getBlockchain(req, res, operationId, callback)

Provides current blockchain state from state module

Parameters:
Name Type Description
req Object

the http request

res Object

the http response

operationId string

the operation id as defined in the openapi definition

callback logEndpointEventCb
Source:

(inner) getBlockchains(req, res, operationId, callback)

Provides current state of all blockchains from state module

Parameters:
Name Type Description
req Object

the http request

res Object

the http response

operationId string

the operation id as defined in the openapi definition

callback logEndpointEventCb
Source:

(inner) transferFunds(req, res, operationId, callback)

Transfers value from onse blockchain address to an other address

Parameters:
Name Type Description
req Object

the http request

res Object

the http response

operationId string

the operation id as defined in the openapi definition

callback logEndpointEventCb
Source:

(inner) updateAccount(req, res, operationId, callback)

Updates account on specified blockchain

Parameters:
Name Type Description
req Object

the http request

res Object

the http response

operationId string

the operation id as defined in the openapi definition

callback logEndpointEventCb
Source: