Skip to content

This libaray is for the modification or creation of every model.

Notifications You must be signed in to change notification settings

BIUT-Block/biutjs-tx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

npm install --save secjs-tx

Tokenchain transaction model

_TokenTxModelHandler.getModel()

get complete model

Kind: instance method of _TokenTxModelHandler

_TokenTxModelHandler.getHeight()

get height of block

Kind: instance method of _TokenTxModelHandler

_TokenTxModelHandler.getTimeStamp()

get Timestamp of model

Kind: instance method of _TokenTxModelHandler

_TokenTxModelHandler.setTimeStamp(timestamp)

set Timestamp for block model

Kind: instance method of _TokenTxModelHandler

Param Type
timestamp string

_TokenTxModelHandler.setGasLimit(gaslimit)

set gas limit

Kind: instance method of _TokenTxModelHandler

Param Type
gaslimit string

_TokenTxModelHandler.getGasPrice()

get block gas price

Kind: instance method of _TokenTxModelHandler

_TokenTxModelHandler.setGasPrice(gasprice)

set gas price

Kind: instance method of _TokenTxModelHandler

Param Type
gasprice string

_TxBlockModelHandler

Transaction chain block model

Kind: global class

_TxBlockModelHandler.getModel()

get complete model

Kind: instance method of _TxBlockModelHandler

_TxBlockModelHandler.getHeight()

get height of block

Kind: instance method of _TxBlockModelHandler

_TxBlockModelHandler.setHeight(height)

set Height of block

Kind: instance method of _TxBlockModelHandler

Param Type
height string

_TxBlockModelHandler.setStatus(status)

set status of transaction chain

Kind: instance method of _TxBlockModelHandler

Param Type
status string

_TxTransModelHandler

transaction chain transaction model

Kind: global class

_TxTransModelHandler.getModel()

transaction chain transation information model

Kind: instance method of _TxTransModelHandler

_TxTransModelHandler.setProductInfo(product)

set product information

Kind: instance method of _TxTransModelHandler

Param Type
product object

_TxTransModelHandler.getProductInfo()

get product information

Kind: instance method of _TxTransModelHandler

SECModelHandler

SEC Model handler: factory function to create for different model

Kind: global class

new SECModelHandler(params)

create instance for model handler params.type: 'tokenchain-block' 'tokenchain-trans' 'transactionchain-block' 'transactionchain-trans'

Param Type
params object

secModelHandler.getInstance()

get the instance of model handler

Kind: instance method of SECModelHandler

About

This libaray is for the modification or creation of every model.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •