Creating an outgoing transaction from HD wallet root key
api/v1
Last updated
api/v1
Last updated
Request Body - Content-Type: application/json;charset=utf-8
Response - 200 OK, application/json
Response Error Table
POST/api/v1/sendTxWithHDWalletRootKey
Example request body
Example request
Response (Success)
Parameter
Type
Required
Description
tx
object
Yes
Transaction information with the below parameters:
tx.address
string
Yes
A Hycon wallet address of the recipient
tx.amount
string
Yes
Amount of Hycon to send to the recipient
tx.minerFee
string
Yes
Transaction fee in Hycon
tx.nonce
number
No
The transaction number sent from the Hycon address
rootKey
string
Yes
Root key of the wallet you want to use for the transaction
index
number
Yes
HD wallet index to a specific wallet address
Parameter
Type
Description
hash
string
Hash representation of the transaction after it is created
Status
Error
Message
400
INVALID_PARAMETER
Invalid address: Please check 'To address'