Table 5 Execution costs of the SC functions.
Function Name | Transaction Gas | Cost on Ethereum (USD) | Cost on zkSync (USD) | Cost on Arbitrum (USD) |
|---|---|---|---|---|
registerPatient() | 76927 | 0.610 | 0.013 | 0.003 |
addDoctorVisit()/addTestResult() | 124301 | 0.986 | 0.021 | 0.005 |
addChronicDisease()/addSurgery() | 77851 | 0.617 | 0.013 | 0.003 |
addService()/addPrescription() | 128441 | 1.019 | 0.022 | 0.005 |
dispensePrescription() | 79175 | 0.628 | 0.013 | 0.003 |
submitClaimRequest() | 143934 | 1.141 | 0.024 | 0.005 |
approveClaim()/rejectClaim() | 30362 | 0.241 | 0.005 | 0.001 |
payService()/payPrescription() | 46793 | 0.371 | 0.008 | 0.002 |
payClaim() | 45302 | 0.359 | 0.008 | 0.002 |