static BigInt? tryHexToBigint(String? v) { if (v == null || v == '0x') return null; try { return hexToBigint(v); } catch (e) { return null; } }