npm install --save secjs-tx
get complete model
Kind: instance method of _TokenTxModelHandler
get height of block
Kind: instance method of _TokenTxModelHandler
get Timestamp of model
Kind: instance method of _TokenTxModelHandler
set Timestamp for block model
Kind: instance method of _TokenTxModelHandler
Param | Type |
---|---|
timestamp | string |
set gas limit
Kind: instance method of _TokenTxModelHandler
Param | Type |
---|---|
gaslimit | string |
get block gas price
Kind: instance method of _TokenTxModelHandler
set gas price
Kind: instance method of _TokenTxModelHandler
Param | Type |
---|---|
gasprice | string |
Transaction chain block model
Kind: global class
get complete model
Kind: instance method of _TxBlockModelHandler
get height of block
Kind: instance method of _TxBlockModelHandler
set Height of block
Kind: instance method of _TxBlockModelHandler
Param | Type |
---|---|
height | string |
set status of transaction chain
Kind: instance method of _TxBlockModelHandler
Param | Type |
---|---|
status | string |
transaction chain transaction model
Kind: global class
transaction chain transation information model
Kind: instance method of _TxTransModelHandler
set product information
Kind: instance method of _TxTransModelHandler
Param | Type |
---|---|
product | object |
get product information
Kind: instance method of _TxTransModelHandler
SEC Model handler: factory function to create for different model
Kind: global class
create instance for model handler params.type: 'tokenchain-block' 'tokenchain-trans' 'transactionchain-block' 'transactionchain-trans'
Param | Type |
---|---|
params | object |
get the instance of model handler
Kind: instance method of SECModelHandler