String addHexPrefix(String hexString) { if (hexString.startsWith('0x')) { return hexString; } return '0x$hexString'; }