Klaytn
getKalytnSignedTransaction
The D'CENT Android SDK provides functions for signing transaction of coins.
This function for :
KLAYTN
(KLAY)KLAYTN_ERC20
- klaytn tokenKLAY_BAOBAB
(KLAYt)KRC20_BAOBAB
Parameters
Parameter | Type | Description |
---|---|---|
coinType |
| klaytn coin type. |
transaction | klaytn transaction parameters. |
class KlaytnTransaction
Name | Type | Description |
---|---|---|
hdKeyPath |
| sign key path for klaytn transaction |
nonce |
| account nonce for klaytn transaction |
toAddr |
| address to send |
amount |
| amount of ETH to send |
gasLimit |
| gas limit value |
gasPrice |
| gas price for klaytn transaction |
data |
| transaction data of klaytn transaction |
chainId |
| chain id |
txType |
| (optional)Type of klaytn transaction
This can be set using the |
fromAddr |
| (optional)Signer's Address of klaytn transaction
This can be set using the |
feeRatio |
| (optional)Fee Ratio of klaytn transaction
This can be set using the |
tokenName |
| (optional)token name of contract for |
decimals |
| (optional)decimals of contract for |
symbol |
| (optional)symbol of contract for |
Returns
String
- signed transaction.
Example
Last updated