String removeHexPrefix(String hexString) { if (hexString.startsWith('0x')) { return hexString.substring(2); } return hexString; }