Skip to content

Commit

Permalink
lightsail-network#515: added docs on dynamic aspect of simulation res…
Browse files Browse the repository at this point in the history
…ponse parsing
  • Loading branch information
sreuland committed Sep 18, 2023
1 parent d5a7421 commit 702628c
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,14 @@
/**
* Response for JSON-RPC method simulateTransaction.
*
* @see <a href="https://soroban.stellar.org/api/methods/simulateTransaction#returns"
* target="_blank">simulateTransaction documentation</a>
* Note - The simulation response will have different model representations with different members
* present or absent depending on type of response that it is conveying. For example, the simulation
* response for invoke host function, could be one of three types: error, success, or restore operation needed.
*
* Please refer to the latest <a href="https://soroban.stellar.org/api/methods/simulateTransaction#returns"
* target="_blank">Soroban simulateTransaction documentation</a> for details on which members of the
* simulation response model are keyed to each type of response.
*
*/
@AllArgsConstructor
@Value
Expand Down

0 comments on commit 702628c

Please sign in to comment.