new TxDataCreator(input, config)
Parameters:
| Name | Type | Description |
|---|---|---|
input |
Object | input of final users.(gas, gasPrice, value and so on) |
config |
Object | config of cross chain used. |
- Source:
- trans/tx-data-creator/common/TxDataCreator.js
Methods
-
createCommonData()
-
Build common data
- Source:
- trans/tx-data-creator/common/TxDataCreator.js
Returns:
- Type
- Object | transUtil.this.retResult | Object
-
createContractData()
-
Build contract data
- Source:
- trans/tx-data-creator/common/TxDataCreator.js
Returns:
- Type
- Object | transUtil.this.retResult | Object