Learning CKB
Lessons
Dashboard
Connect Wallet
Back to lesson
Quiz: CKB RPC Dashboard
0 of 8 answered
0%
Question 1 of 8
Why does CKB JSON-RPC encode all integer values as hex strings (e.g., "0x3e8" instead of 1000) rather than using JSON numbers?
A
Because hex strings are faster to parse than decimal numbers in JavaScript runtimes
B
Because JSON numbers use IEEE 754 double-precision floating point, which only has 53 bits of mantissa — insufficient to represent CKB's 64-bit values like timestamps and capacities without precision loss
C
Because the CKB team prefers hexadecimal notation for aesthetics and it makes debugging easier
D
Because JSON-RPC 2.0 requires all numeric parameters to be strings per the specification
Previous
Next
Lessons