Skip to main content
. 2024 Aug 10;10(16):e34407. doi: 10.1016/j.heliyon.2024.e34407

Table 3.

Gas Cost of the Function/Mapping used in Contracts.

Contract Function/Mapping Gas Cost in Eth Gas Cost in US$
Registration Contract Access Denied Due to Invalid Registration 0.002651 4.23
Registration Contract Update the Mapping 0.002231 3.56
Registration Contract Access Denied due to Invalid Session Time 0.002757 4.4
Registration Contract Requested Inconsistent EHR 0.003798 6.06
AccessRequest Contract Access Denied Due to Invalid Purpose of EHR Access 0.00262 4.19
AccessRequest Contract EHR Access Granted 0.0001567 6.24
Revoke Contract Revoke Payment 0.002632 4.2