Conflux
getConfluxSignedTransaction
This function for :
.CONFLUX
- conflux (CRX)
Parameters
coinType: conflux network coin type
confluxTransaction: (ConfluxTransation)conflux transaction parameter
class ConfluxTransaction
Name | Type | Description |
---|---|---|
nonce |
| account nonce for Conflux transaction |
gasPrice |
| gas price for Conflux transaction |
gas |
| gas limit value of Conflux transaction |
to |
| address to send |
amount |
| amount of CFX to send of Conflux transaction |
storageLimit |
| storageLimit for Conflux transaction |
epochHeight |
| epochHeight for Conflux transaction |
chainId |
| chain id for Conflux transaction |
data |
| (optional)transaction input data for Conflux transaction |
addressPath |
| sign key path for Conflux transaction |
Returns
result: (Bool)
true
if successful,false
if error occurredtxData: signed transaction
Requirements
D'CENT Biometric Wallet version 2.18.3 or higher is required.
Example
getCRC20TokenSignedTransaction
This fuction for :
.CFX_CRC20
- conflux token
Parameters
coinType: conflux token coin type
tokenTransaction: (ConfluxCrc20Transation)conflux token transaction parameter
class ConfluxCrc20Transaction
Name | Type | Description |
---|---|---|
nonce |
| account nonce for Conflux transaction |
gasPrice |
| gas price for Conflux transaction |
gas |
| gas limit value of Conflux transaction |
to |
| address to send |
amount |
| amount of CFX to send of Conflux transaction |
storageLimit |
| storageLimit for Conflux transaction |
epochHeight |
| epochHeight for Conflux transaction |
chainId |
| chain id for Conflux transaction |
data |
| (optional)transaction input data for Conflux transaction |
addressPath |
| sign key path for Conflux transaction |
tokenName |
| token name of Crc20 transaction |
contractAddress |
| contractAddress of Crc20 transaction |
toAddress |
| toAddress of Crc20 transaction |
decimals |
| decimals of of Crc20 transaction |
value |
| amount of ether to be sent of Crc20. ( Drip unit value ) |
tokenSymbol |
| symbol of Crc20 transaction |
Returns
result: (Bool)
true
if successful,false
if error occurredtxData: signed transaction
Requirements
D'CENT Biometric Wallet version 2.18.3 or higher is required.
Example
Last updated