Research Article
Trust-Based Smart Contract for Automated Agent to Agent Communication
| System | Function | Transaction cost (eth) | Price ($) |
| ā | Deploy contracts | 0.003796388 | 13.21 | ā | Agent enrolment | 0.000225766 | 0.79 |
| Vehicles agent management | addVehicleAgent | 0.000332948 | 1.16 | getVehicleAgent | 0 | 0 | getAllVehicleAgent | 0 | 0 |
| Gas stations management | addGasStationAgent | 0.000301534 | 1.05 | getGasStationAgent | 0 | 0 | getAllGasStation | 0 | 0 |
| Vehicles and gas station communication | Payment | 0.000297561 | 1.03 | sendMessage | 0.000244863 | 0.85 | readMessage | 0 | 0 | requestService | 0.000470134 | 1.63 |
|
|