Stacks
getStacksSignedTransaction
This function for :
STACKS
(STX)SIP010
- stacks tokenSTACKS_TESTNET
(STXt)SIP010_TESTNET
Parameters
Parameter | Type | Description |
---|---|---|
coinType |
| stacks coin type. |
transaction | stacks transaction parameters. |
class StacksTransaction
Name | Type | Description |
---|---|---|
hdKeyPath |
| sign key path for stacks transaction |
sigHash |
| transaction that has not been signed of stacks transaction |
authType |
| transaction authorization type of stacks transaction (refer toStacks Doc) - standard authorization: 0x04 - sponsored authorization: 0x05 |
fee |
| transaction fee of stacks transaction * Fee value is configured in stacks(STX) unit. |
nonce |
| transaction nonce of stacks transaction |
decimals |
| transaction decimals of stacks transaction |
symbol |
| transaction symbol of stacks transaction |
optionParam |
| (optional)hexadecimal value of the token method type - '01' : assert transfer - '02' : token stake - '03' + amount(8bytes) : token revoke (amount value is configured in micro-STX unit) - '04': dapp contract |
Returns
String
- signed transaction.
Requirements
D'CENT Biometric Wallet version 2.14.1 or higher is required.
(for SIP010): 2.16.7 or higher is required.
Example
Last updated