It's a double because there is no way to return a uint64_t to JS land.