10 UMLObject 20 300 160 80 Escrow ledger entry -- Account PreviousTxnID ... Relation 170 330 210 50 lt=<. look up transaction by Previous TxnID 190.0;20.0;10.0;20.0 UMLObject 360 300 160 140 Transaction -- tx_json TransactionType Sequence ... meta AffectedNodes ... halign=left UMLSpecialState 420 520 40 40 type=decision Relation 430 430 270 110 lt=<- Is TransactionType == EscrowCreate? 10.0;90.0;10.0;10.0 Relation 450 520 120 40 lt=<- Yes 100.0;20.0;10.0;20.0 UMLSpecialState 610 880 20 20 type=final Relation 300 520 140 40 lt=<- No 10.0;20.0;120.0;20.0 UMLState 160 490 150 100 Check metadata for the same Escrow. Get the prior PreviousTxnID. style=wordwrap Relation 190 340 30 170 lt=.> 10.0;150.0;10.0;10.0 UMLState 430 740 170 100 Use the escrow's Account and this transaction's Sequence number to finish or cancel the escrow. style=wordwrap Relation 500 830 130 80 lt=<- 110.0;60.0;10.0;60.0;10.0;10.0 Relation 80 110 790 210 lt=<- r2=No, or yes but this escrow is from before that 10.0;190.0;10.0;20.0;770.0;20.0 UMLSpecialState 860 20 20 20 type=initial UMLSpecialState 600 640 40 40 type=decision UMLState 550 500 150 90 This is the transaction that created the escrow. style=wordwrap Relation 610 580 140 80 lt=<- Is Sequence == 0? 10.0;60.0;10.0;10.0 Relation 500 640 120 120 lt=<- r2=No 10.0;100.0;10.0;20.0;100.0;20.0 UMLState 640 740 170 110 Use the escrow's Account and this transaction's TicketSequence number to finish or cancel the escrow. style=wordwrap Relation 630 640 120 120 lt=<- r2=Yes 100.0;100.0;100.0;20.0;10.0;20.0 Relation 620 840 130 70 lt=<- 10.0;50.0;110.0;50.0;110.0;10.0 Relation 860 190 30 740 lt=.. 10.0;720.0;10.0;10.0 UMLSpecialState 850 110 40 40 bg=green type=decision Relation 860 30 340 100 lt=<- Is the IncludeKeyletFields amendment enabled? (new in rippled 3.0.0) 10.0;80.0;10.0;10.0 Relation 880 90 250 220 lt=<- r2=Yes, and this escrow was \ncreated after it went live 230.0;200.0;230.0;40.0;10.0;40.0 UMLObject 1030 290 160 100 Escrow ledger entry -- Account Sequence PreviousTxnID ... UMLState 1030 460 170 100 Use the escrow's Account and Sequence fields to finish or cancel the escrow. style=wordwrap Relation 1100 380 30 100 lt=<- 10.0;80.0;10.0;10.0