0.1.38 • Published 5 years ago

@sec-block/secjs-tx v0.1.38

Weekly downloads
-
License
MIT
Repository
github
Last release
5 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

5 years ago

0.1.37

5 years ago

0.1.36

5 years ago

0.1.35

5 years ago

0.1.34

5 years ago

0.1.33

5 years ago

0.1.32

5 years ago

0.1.31

5 years ago

0.1.30

5 years ago

0.1.29

5 years ago

0.1.28

5 years ago

0.1.27

5 years ago

0.1.26

5 years ago

0.1.25

5 years ago

0.1.24

5 years ago

0.1.23

5 years ago

0.1.22

5 years ago

0.1.21

5 years ago

0.1.20

5 years ago

0.1.19

5 years ago

0.1.18

5 years ago

0.1.17

5 years ago

0.1.16

5 years ago

0.1.15

5 years ago

0.1.14

5 years ago

0.1.13

5 years ago

0.1.12

5 years ago

0.1.11

6 years ago

0.1.10

6 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago