Last active
October 24, 2018 18:38
-
-
Save danintel/0f878141c60bb566237e8db11226aa4e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- wget http://localhost:8008/receipts?id=50c090ffd3f0529b406b1896084a445c4fdb08a06ce1dc0d56a2b2b16d41a74745975b679843f84fb7659915567870018eaadb2eff3b84795fc3b7ca29e58a2a | |
REST-API is documented at https://sawtooth.hyperledger.org/docs/core/releases/latest/rest_api.htm --> | |
{ | |
"data": [ | |
{ | |
"data": [], | |
"events": [], | |
"id": "50c090ffd3f0529b406b1896084a445c4fdb08a06ce1dc0d56a2b2b16d41a74745 | |
975b679843f84fb7659915567870018eaadb2eff3b84795fc3b7ca29e58a2a", | |
"state_changes": [ | |
{ | |
"address": "a4d2195bef15a7ff5752dd2355f9b69ab3201f3abeb9acb884214fd7f | |
0a900539a9797", | |
"type": "SET", | |
"value": "MTA=" | |
} | |
] | |
} | |
], | |
"link": "http://localhost:8008/receipts?id=50c090ffd3f0529b406b1896084a445c4f | |
db08a06ce1dc0d56a2b2b16d41a74745975b679843f84fb7659915567870018eaadb2eff3b84795 | |
fc3b7ca29e58a2a" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hyperledger Sawtooth transaction receipt example, using the REST API
/receipts?id=
interfaceThe value "MTA=" is base64 encoded for "10", which is the new value of the state at state address a4d219....