| Algorithm 2: GetData |
| Require: DC’s ID, Proof of Access |
| payable |
| if Validation(DC’s ID, Proof of Access) then |
| PaytoOwner(data value, DO’s address) |
| = GetfromOwner(set of attributes S) |
| = GetfromOffChain() |
| else |
| REJECT Getting |
| end if |
| Algorithm 2: GetData |
| Require: DC’s ID, Proof of Access |
| payable |
| if Validation(DC’s ID, Proof of Access) then |
| PaytoOwner(data value, DO’s address) |
| = GetfromOwner(set of attributes S) |
| = GetfromOffChain() |
| else |
| REJECT Getting |
| end if |