Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<!-- 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"
@danintel

This comment has been minimized.

Copy link
Owner Author

danintel commented Oct 24, 2018

Hyperledger Sawtooth transaction receipt example, using the REST API /receipts?id= interface

The value "MTA=" is base64 encoded for "10", which is the new value of the state at state address a4d219....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.