0.1.38 • Published 6 years ago

@sec-block/secjs-tx v0.1.38

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

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

ParamType
timestampstring

_TokenTxModelHandler.setGasLimit(gaslimit)

set gas limit

Kind: instance method of _TokenTxModelHandler

ParamType
gaslimitstring

_TokenTxModelHandler.getGasPrice()

get block gas price

Kind: instance method of _TokenTxModelHandler

_TokenTxModelHandler.setGasPrice(gasprice)

set gas price

Kind: instance method of _TokenTxModelHandler

ParamType
gaspricestring

_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

ParamType
heightstring

_TxBlockModelHandler.setStatus(status)

set status of transaction chain

Kind: instance method of _TxBlockModelHandler

ParamType
statusstring

_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

ParamType
productobject

_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'

ParamType
paramsobject

secModelHandler.getInstance()

get the instance of model handler

Kind: instance method of SECModelHandler

0.1.38

6 years ago

0.1.37

6 years ago

0.1.36

6 years ago

0.1.35

6 years ago

0.1.34

6 years ago

0.1.33

7 years ago

0.1.32

7 years ago

0.1.31

7 years ago

0.1.30

7 years ago

0.1.29

7 years ago

0.1.28

7 years ago

0.1.27

7 years ago

0.1.26

7 years ago

0.1.25

7 years ago

0.1.24

7 years ago

0.1.23

7 years ago

0.1.22

7 years ago

0.1.21

7 years ago

0.1.20

7 years ago

0.1.19

7 years ago

0.1.18

7 years ago

0.1.17

7 years ago

0.1.16

7 years ago

0.1.15

7 years ago

0.1.14

7 years ago

0.1.13

7 years ago

0.1.12

7 years ago

0.1.11

7 years ago

0.1.10

7 years ago

0.1.9

7 years ago

0.1.8

7 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago