RestApis NewTransaction
Davide Miceli edited this page Jan 28, 2019
·
2 revisions
Propose a new transaction as new block to be validated by other peers.
POST
/api/block/propose
None
Field | Optional | Type | Description |
---|---|---|---|
data |
no | string | Transaction data (a json or a simple string) |
true
curl -X POST http://<peer-host>/api/block/propose -H "Content-Type: application/json" --data-binary '{"data": "Some block data"}' --compressed