[FEATURE] Add getNextBlock endpoint.