March 2019
Intermediate to advanced
636 pages
27h 50m
English
Let's move on! The next section is really important–the transactions! Let's start by looking the first transaction definition:
transaction InitialApplication { o String letterId --> Customer applicant --> Customer beneficiary o Rule[] rules o ProductDetails productDetails}
We can see that like assets and participants, transactions are defined with their own keyword:
transaction InitialApplication {
The transaction keyword identifies that what follows is a type definition for a transaction. It's just like the asset or participant keywords. Notice that there isn't an identified by clause in the transaction definition.
This transaction definition represents the initial application made by Alice for the letter of credit. ...
Read now
Unlock full access