Table 2 Average execution time and transaction fees of the smart contract methods on Ganache and test network.

From: Blockchain enabled traceability in the jewel supply chain

Method

Called by

Data size (bytes)

Avg. execution time (ms) (Sepolia)

Avg. execution time (ms) (Ganache)

Transaction fees (Sepolia)

createRole

Owner

21 bytes

15219.49

0.84

1.25-05

getRole

Requestor

32 bytes

0.86

0.23

createRawMaterial

Miner

148 bytes

18624.62

0.94

1.4E-05

getRawMaterial

Requestor

32 bytes

1.43

0.43

createRefinedMaterial

Refiner

180 bytes

18090.99

0.92

2.73E-05

getRefinedMaterial

Requester

32 bytes

0.88

0.38

createJewel

Manufacturer

148 bytes

17053.48

0.94

2.24E-05

getJewel

Requester

32 bytes

1.64

1.06