Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
peterli-r3 committed Jul 8, 2024
1 parent ce0705a commit a0b0486
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 4 deletions.
17 changes: 15 additions & 2 deletions java-samples/sendAndRecieveTransaction/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,21 @@ we can execute the following request body with her short hash:
}
```

Ensure to replace the stateRef variable with the stateRef of the transaction in the requestbody
of the transaction.
Ensure to replace the stateRef variable with the stateRef of the transaction. The stateRef will be found when you run the GET call,
QueryAll in the swaggerAPI. The stateRef is labeled as `flowResult` in response body, begins with SHA-256D:XXXXX..
```
[
{
"holdingIdentityShortHash": "A93A019B324E",
"clientRequestId": "createiou-1",
"flowId": "26ea3f95-141b-4aaa-9b58-e3a685dc54d3",
"flowStatus": "COMPLETED",
"flowResult": "SHA-256D:B3D87C8B446C277B5658BBB2A18DC7491539D898B70F074418878091AE315B4A",
"flowError": null,
"timestamp": "2024-07-08T04:37:16.175Z"
}
]
```
After running this flow Dave will have the transaction in his vault.


Expand Down
17 changes: 15 additions & 2 deletions kotlin-samples/sendAndRecieveTransaction/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,21 @@ we can execute the following request body with her short hash:
}
```

Ensure to replace the stateRef variable with the stateRef of the transaction in the requestbody
of the transaction.
Ensure to replace the stateRef variable with the stateRef of the transaction. The stateRef will be found when you run the GET call,
QueryAll in the swaggerAPI. The stateRef is labeled as `flowResult` in response body, begins with SHA-256D:XXXXX..
```
[
{
"holdingIdentityShortHash": "A93A019B324E",
"clientRequestId": "createiou-1",
"flowId": "26ea3f95-141b-4aaa-9b58-e3a685dc54d3",
"flowStatus": "COMPLETED",
"flowResult": "SHA-256D:B3D87C8B446C277B5658BBB2A18DC7491539D898B70F074418878091AE315B4A",
"flowError": null,
"timestamp": "2024-07-08T04:37:16.175Z"
}
]
```
After running this flow Dave will have the transaction in his vault.


Expand Down

0 comments on commit a0b0486

Please sign in to comment.