Creating an outgoing transaction with a signature

api/v1

Send Hycon from a wallet via a signature to another Hycon wallet. All transactions include a n HYC miner fee.

Request Body - Content-Type: application/json;charset=utf-8

Response - 200 OK, application/json

Response Error Table

POST/api/v1/tx

Example request

$ curl -X POST http://localhost:2442/api/v1/tx \
    -H 'Content-Type: application/json;charset=utf-8' \
    -d '{
	  "signature": "65b4f0c4e5594117e7a7951e60dc81e5701731c61830a30e1bd8199a469f6f90a",
	  "from": "H23fF8ktBWYwK7aHFbPSW52LtoHcbDvmT",
      "to": "H3zYvzxTDGEF9fZtmzLV78h38J4BR2qnL",
      "amount": "25.995459977",
      "fee": "0.000001",
      "nonce": 1,
      "recovery": 0
    }'

Response (Success)

{ "txHash": "A3CpvMaSm92mYbShh

Last updated