Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In some cases, we may need to set the ISI argument from the query results. 

Example:

In DEX we need to check the conversion amount in the pool for a token to be exchanged. Then we need to send this value to the ISI which will send exchanged funds to the user. Last ISI should send exactly the same amount as defined by the conversion rate query. So query should somehow set this information as an argument to the next ISI.